|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileNode
Represents a single node (file or directory) in the tree of files shown by the directory element.
| Method Summary | |
|---|---|
java.util.Collection |
getChildren()
Returns a collection of DirectoryElementNode that are children of the current node. |
java.lang.String |
getExtension()
Returns the extension (on disk) of the node. |
long |
getFileSize()
Returns the file size (on disk) of the node. |
java.util.Date |
getLastModified()
Returns the date the file on disk was last modified. |
java.lang.String |
getName()
Returns the name (on disk) of the node. |
int |
getPathDepth()
Returns the depth of the path measured from the root directory of the directory element. |
java.lang.String |
getRelativePath()
Returns the path relative to the root directory of the directory element. |
boolean |
isDirectory()
Returns whether this node represents a directory or a file. |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getExtension()
java.lang.String getRelativePath()
int getPathDepth()
boolean isDirectory()
java.util.Date getLastModified()
java.util.Collection getChildren()
long getFileSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||