public class Directory
extends java.lang.Object
Constructor and Description |
---|
Directory(java.lang.String name,
boolean isLeaf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name.
|
boolean |
isLeaf()
Test if directory has children.
|