|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myJava.file.archive.tar.TarEntryEnumerator
public class TarEntryEnumerator
Enumerate the contents of a "tar" file. Last updated 26th Mar 1999.
Constructor Summary | |
---|---|
TarEntryEnumerator(TarInputStream tis)
Construct an instance given a TarInputStream. |
Method Summary | |
---|---|
boolean |
hasMoreElements()
Return true if there are more elements in the enumeration. |
java.lang.Object |
nextElement()
Return the next element in the enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TarEntryEnumerator(TarInputStream tis)
tis
- the TarInputStream on which this enumeration has
to be based.Method Detail |
---|
public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
NoSuchElementException
- should an attempt be made to
read beyond EOF
java.util.NoSuchElementException
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |