java.util.jar
Class JarFile.JarEnumeration

java.lang.Object
java.util.jar.JarFile.JarEnumeration
- All Implemented Interfaces:
- java.util.Enumeration
- Enclosing class:
- JarFile
- private static class JarFile.JarEnumeration
- extends java.lang.Object
- implements java.util.Enumeration
Wraps a given Zip Entries Enumeration. For every zip entry a
JarEntry is created and the corresponding Attributes are looked up.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entries
private final java.util.Enumeration entries
jarfile
private final JarFile jarfile
JarFile.JarEnumeration
JarFile.JarEnumeration(java.util.Enumeration e,
JarFile f)
hasMoreElements
public boolean hasMoreElements()
- Description copied from interface:
java.util.Enumeration
- Tests whether there are elements remaining in the enumeration.
- Specified by:
hasMoreElements in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Description copied from interface:
java.util.Enumeration
- Obtain the next element in the enumeration.
- Specified by:
nextElement in interface java.util.Enumeration