de.lmu.ifi.dbs.elki.utilities
Class InspectionUtil.DirClassIterator
java.lang.Object
   de.lmu.ifi.dbs.elki.utilities.InspectionUtil.DirClassIterator
de.lmu.ifi.dbs.elki.utilities.InspectionUtil.DirClassIterator
- All Implemented Interfaces: 
- Iterable<String>, Iterator<String>
- Enclosing class:
- InspectionUtil
- static class InspectionUtil.DirClassIterator 
- extends Object- implements Iterator<String>, Iterable<String>
 
Class to iterate over a directory tree.
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
prefix
private String prefix
set
private Stack<File> set
cur
private String cur
InspectionUtil.DirClassIterator
public InspectionUtil.DirClassIterator(File path)
- Constructor from Directory
 
- Parameters:
- path- Directory to iterate over
 
hasNext
public boolean hasNext()
- 
- Specified by:
- hasNextin interface- Iterator<String>
 
- 
 
findNext
private String findNext()
- Find the next entry, since we need to skip some jar file entries.
 
- 
 
- 
- Returns:
- next entry or null
 
next
public String next()
- 
- Specified by:
- nextin interface- Iterator<String>
 
- 
 
remove
public void remove()
- 
- Specified by:
- removein interface- Iterator<String>
 
- 
 
iterator
public Iterator<String> iterator()
- 
- Specified by:
- iteratorin interface- Iterable<String>
 
-