|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.util.FileEndingIterator
public class FileEndingIterator
Lists all the files in the given directory that end with a certain ending.
Constructor Summary | |
---|---|
FileEndingIterator(java.lang.String path,
java.lang.String ending)
Creates new FileIterator and searches the first match. |
Method Summary | |
---|---|
boolean |
hasNext()
Used to check that there are more matching files to get using next(). |
java.io.File |
next()
Used to get the next matching file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileEndingIterator(java.lang.String path, java.lang.String ending)
path
- The directory used for the file search.ending
- The file ending to search for.Method Detail |
---|
public java.io.File next()
public boolean hasNext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |