public final class RootDirectoryNode extends DirectoryNode
FileStructurePropertyType
with. DirectoryNode
,
AbstractTreeNode
,
Serialized FormConstructor and Description |
---|
RootDirectoryNode()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getRestrictions()
Gets a detailed description of the AbstractTreeNode implementation with any constraints that might influence the validation.
|
void |
initialize(File rootDirectory)
This method initalizes the root directory node with a directory path.
|
void |
initialize(String rootDirectory)
This method initalizes the root directory node with a directory path.
|
addChild, getChildren, size, validate
equals, exists, getFile, getFiles, getName, getParentNode, getValidator, hashCode, hasParentNode, isInitialized, isRootNode, reset, setInitialized, setName, setParentNode
public RootDirectoryNode()
public final void initialize(String rootDirectory) throws PropertyException
rootDirectory
- the String value that identifies the root node path.PropertyException
PropertyType.validate(String, String)
public final void initialize(File rootDirectory) throws PropertyException
rootDirectory
- the file value that identifies the root node path.PropertyException
PropertyType.validate(String, String)
public List<String> getRestrictions()
AbstractTreeNode
getRestrictions
in class DirectoryNode