de.lmu.ifi.dbs.elki.utilities
Class InspectionUtil.JarClassIterator
java.lang.Object
  
de.lmu.ifi.dbs.elki.utilities.InspectionUtil.JarClassIterator
- All Implemented Interfaces: 
 - Iterable<String>, Iterator<String>
 
- Enclosing class:
 - InspectionUtil
 
static class InspectionUtil.JarClassIterator
- extends Object
- implements Iterator<String>, Iterable<String>
  
Class to iterate over a Jar file.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
jarentries
private Enumeration<JarEntry> jarentries
ne
private String ne
InspectionUtil.JarClassIterator
public InspectionUtil.JarClassIterator(String path)
- Constructor from Jar file.
- Parameters:
 path - Jar file entries to iterate over.
 
hasNext
public boolean hasNext()
- Specified by:
 hasNext in 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:
 next in interface Iterator<String>
 
 
remove
public void remove()
- Specified by:
 remove in interface Iterator<String>
 
 
iterator
public Iterator<String> iterator()
- Specified by:
 iterator in interface Iterable<String>