|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.connect.FileNode
Node representing a file File
in a local filesystem.
Constructor Summary | |
protected |
FileNode(File file)
Constructs a node from a File. |
Method Summary | |
static FileNode |
createNode(File file)
Creates a new FileNode from a File. |
boolean |
equals(Object other)
|
File |
getFile()
|
String |
getName()
Returns the name of this node. |
Branch |
getParent()
Returns the parent branch of this node. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected FileNode(File file)
file
- fileMethod Detail |
public String getName()
Node
getName
in interface Node
public Branch getParent()
Node
getParent
in interface Node
public File getFile()
public boolean equals(Object other)
public int hashCode()
public String toString()
public static FileNode createNode(File file)
file
- file
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |