org.semanticdesktop.aperture.subcrawler.base
Class AbstractArchiverSubCrawler.ArchiveInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler.ArchiveInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- TarSubCrawler.TarSubCrawlerInputStream, ZipSubCrawler.ZipSubCrawlerInputStream
- Enclosing class:
- AbstractArchiverSubCrawler
protected abstract static class AbstractArchiverSubCrawler.ArchiveInputStream
- extends FilterInputStream
An input stream encapsulating an archive stream with compressed data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractArchiverSubCrawler.ArchiveInputStream
public AbstractArchiverSubCrawler.ArchiveInputStream(InputStream in)
- The main constructor
- Parameters:
in
- the input stream to be wrapped
getNextEntry
public abstract AbstractArchiverSubCrawler.ArchiveEntry getNextEntry()
throws IOException
- Returns the next archive entry
- Returns:
- the next archive entry or null if the end of the stream has been reached
- Throws:
IOException
- if something goes wrong
closeEntry
public abstract void closeEntry()
throws IOException
- closes the current archive entry
- Throws:
IOException
- if something goes wrong
Copyright © 2010 Aperture Development Team. All Rights Reserved.