public class DirectoryNode extends java.lang.Object implements FileSystemNode
Modifier and Type | Field and Description |
---|---|
private java.io.File |
directory |
Constructor and Description |
---|
DirectoryNode(java.io.File directory) |
Modifier and Type | Method and Description |
---|---|
void |
accept(FileSystemVisitor v) |
FileSystemNode[] |
getChildren() |
java.io.File |
getDirectory() |
private java.io.File directory
public DirectoryNode(java.io.File directory)
public void accept(FileSystemVisitor v)
accept
in interface FileSystemNode
public java.io.File getDirectory()
public FileSystemNode[] getChildren()