|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.statcvs.model.Directory
net.sf.statcvs.model.DirectoryRoot
The root of a tree of Directory objects
| Constructor Summary | |
DirectoryRoot()
|
|
| Method Summary | |
int |
getDepth()
|
java.lang.String |
getName()
Returns the directory's name without full path or any slashes, e.g. |
Directory |
getParent()
Returns the directory's parent directory or null if it is the root |
java.lang.String |
getPath()
Returns the directory's full path with trailing slash, for example "src/net/sf/statcvs/" |
boolean |
isRoot()
|
java.lang.String |
toString()
|
| Methods inherited from class net.sf.statcvs.model.Directory |
addFile, addSubdirectory, compareTo, getCurrentFileCount, getCurrentLOC, getFiles, getRevisionIterator, getSubdirectories, getSubdirectoriesRecursive, isEmpty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DirectoryRoot()
| Method Detail |
public java.lang.String getName()
Directory
getName in class DirectoryDirectory.getName()public java.lang.String getPath()
Directory
getPath in class DirectoryDirectory.getPath()public Directory getParent()
Directory
getParent in class DirectoryDirectory.getParent()public boolean isRoot()
isRoot in class DirectoryDirectory.isRoot()public java.lang.String toString()
Object.toString()public int getDepth()
getDepth in class DirectoryDirectory.getDepth()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||