Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.utilities
Class InspectionUtil.JarClassIterator

java.lang.Object
  extended by 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>


Field Summary
private  Enumeration<JarEntry> jarentries
           
private  String ne
           
 
Constructor Summary
InspectionUtil.JarClassIterator(String path)
          Constructor from Jar file.
 
Method Summary
private  String findNext()
          Find the next entry, since we need to skip some jar file entries.
 boolean hasNext()
           
 Iterator<String> iterator()
           
 String next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jarentries

private Enumeration<JarEntry> jarentries

ne

private String ne
Constructor Detail

InspectionUtil.JarClassIterator

public InspectionUtil.JarClassIterator(String path)
Constructor from Jar file.

Parameters:
path - Jar file entries to iterate over.
Method Detail

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>

Release 0.2 (2009-07-06_1820)