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()
Node
public Branch getParent()
Node
null
.public File getFile()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.