com.springsource.bundlor.support.classpath
Class JarFileClassPath.JarFileClassPathIterator

java.lang.Object
  extended by com.springsource.bundlor.support.classpath.JarFileClassPath.JarFileClassPathIterator
All Implemented Interfaces:
java.util.Iterator<ClassPathEntry>
Enclosing class:
JarFileClassPath

private static class JarFileClassPath.JarFileClassPathIterator
extends java.lang.Object
implements java.util.Iterator<ClassPathEntry>


Field Summary
private  java.util.Enumeration<java.util.jar.JarEntry> jarEntryEnumeration
           
private  java.util.jar.JarFile jarFile
           
 
Constructor Summary
JarFileClassPath.JarFileClassPathIterator(java.util.jar.JarFile jarFile)
           
 
Method Summary
 boolean hasNext()
           
 ClassPathEntry next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jarFile

private final java.util.jar.JarFile jarFile

jarEntryEnumeration

private final java.util.Enumeration<java.util.jar.JarEntry> jarEntryEnumeration
Constructor Detail

JarFileClassPath.JarFileClassPathIterator

public JarFileClassPath.JarFileClassPathIterator(java.util.jar.JarFile jarFile)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<ClassPathEntry>

next

public ClassPathEntry next()
Specified by:
next in interface java.util.Iterator<ClassPathEntry>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<ClassPathEntry>