public abstract class FileNode extends Object implements Node
File in a local filesystem.| Modifier | Constructor and Description |
|---|---|
protected |
FileNode(File file)
Constructs a node from a File.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
protected FileNode(File file)
file - filepublic String getName()
Nodepublic Branch getParent()
Nodenull.public File getFile()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.