public class TarIterator extends Object implements Iterator<org.apache.camel.Message>, Closeable
| Modifier and Type | Field and Description |
|---|---|
static String |
TARFILE_ENTRY_NAME_HEADER
Header where this
TarIterator will insert the current entry's file name. |
| Constructor and Description |
|---|
TarIterator(org.apache.camel.Exchange exchange,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkNullAnswer(org.apache.camel.Message answer) |
void |
close() |
boolean |
hasNext() |
boolean |
isAllowEmptyDirectory() |
org.apache.camel.Message |
next() |
void |
remove() |
void |
setAllowEmptyDirectory(boolean allowEmptyDirectory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static final String TARFILE_ENTRY_NAME_HEADER
TarIterator will insert the current entry's file name.public TarIterator(org.apache.camel.Exchange exchange,
InputStream inputStream)
public boolean hasNext()
public org.apache.camel.Message next()
public void checkNullAnswer(org.apache.camel.Message answer)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic boolean isAllowEmptyDirectory()
public void setAllowEmptyDirectory(boolean allowEmptyDirectory)
Apache Camel