|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.DirectoryWalker.DirStackEntry
class DirectoryWalker.DirStackEntry
DirStackEntry is an Item on the DirectoryWalker.dirStack
Field Summary | |
---|---|
int |
count
Count of files in the directory. |
java.io.File |
dir
Current Directory. |
int |
index
Index (or offset) within the directory count. |
double |
percentageOffset
Offset for percentage calculations. |
double |
percentageSize
Size of percentage space to work with. |
Constructor Summary | |
---|---|
DirectoryWalker.DirStackEntry(java.io.File d,
int length)
Create a DirStackEntry. |
Method Summary | |
---|---|
double |
getNextPercentageOffset()
Calculate the next percentage offset. |
double |
getNextPercentageSize()
Calculate the next percentage size. |
int |
getPercentage()
The percentage of the DirStackEntry right now. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int count
public java.io.File dir
public int index
public double percentageOffset
public double percentageSize
Constructor Detail |
---|
public DirectoryWalker.DirStackEntry(java.io.File d, int length)
d
- the directory to tracklength
- the length of entries in the directory.Method Detail |
---|
public double getNextPercentageOffset()
public double getNextPercentageSize()
public int getPercentage()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |