|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.connect.FileNode
public abstract class FileNode
Node representing a file File in a local filesystem.
| Constructor Summary | |
|---|---|
protected |
FileNode(java.io.File file)
Constructs a node from a File. |
| Method Summary | |
|---|---|
static FileNode |
createNode(java.io.File file)
Creates a new FileNode from a File. |
boolean |
equals(java.lang.Object other)
|
java.io.File |
getFile()
|
java.lang.String |
getName()
Returns the name of this node. |
Branch |
getParent()
Returns the parent branch of this node. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected FileNode(java.io.File file)
file - file| Method Detail |
|---|
public java.lang.String getName()
Node
getName in interface Nodepublic Branch getParent()
Node
getParent in interface Nodepublic java.io.File getFile()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static FileNode createNode(java.io.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 | ||||||||