|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tribble.search.zip.ZIterator
Zipfile entry iterator.
This enumeration allows for iterating over all the entries found by a zipfile searcher.
ZArchive
Field Summary | |
protected java.util.Vector |
m_list
List of found zipfile entries ( ZFile objects). |
protected int |
m_pos
|
protected ZArchive |
m_searcher
Zipfile searcher. |
static int |
SERIES
Series number. |
Constructor Summary | |
protected |
ZIterator(ZArchive seacher,
java.util.Vector entries)
Constructor. |
Method Summary | |
boolean |
hasMoreElements()
Determine if there are any more entries left in this enumeration. |
java.lang.Object |
nextElement()
Retrieve the next element from this enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SERIES
protected ZArchive m_searcher
protected java.util.Vector m_list
ZFile
objects).
protected int m_pos
Constructor Detail |
protected ZIterator(ZArchive seacher, java.util.Vector entries)
entries
- A vector of ZFile
zipfile entries to iterate upon.Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
ZFile
object corresponding to a zipfile entry found by a
zipfile searcher. Returns null if there are no more entries left in the
list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |