public class TarEntryEnumerator
extends java.lang.Object
implements java.util.Enumeration
Constructor and Description |
---|
TarEntryEnumerator(TarInputStream tis)
Construct an instance given a TarInputStream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
Return true if there are more elements in the enumeration.
|
java.lang.Object |
nextElement()
Return the next element in the enumeration.
|
public TarEntryEnumerator(TarInputStream tis)
tis
- the TarInputStream on which this enumeration has to be based.public java.lang.Object nextElement() throws java.util.NoSuchElementException
nextElement
in interface java.util.Enumeration
NoSuchElementException
- should an attempt be made to read beyond EOFjava.util.NoSuchElementException
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Copyright © 2014 EsprIT-Systems. All Rights Reserved.