org.semanticdesktop.aperture.subcrawler.zip
Class ZipSubCrawler.ZipSubCrawlerInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.semanticdesktop.aperture.subcrawler.base.AbstractArchiverSubCrawler.ArchiveInputStream
org.semanticdesktop.aperture.subcrawler.zip.ZipSubCrawler.ZipSubCrawlerInputStream
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- ZipSubCrawler
protected static class ZipSubCrawler.ZipSubCrawlerInputStream
- extends AbstractArchiverSubCrawler.ArchiveInputStream
An ArchiveInputStream encapsulating a stream of ZIP-ped data
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipSubCrawler.ZipSubCrawlerInputStream
public ZipSubCrawler.ZipSubCrawlerInputStream(InputStream in)
- Constructs a ZipSubCrawlerInputStream
- Parameters:
in
- the stream with zipped data.
getNextEntry
public AbstractArchiverSubCrawler.ArchiveEntry getNextEntry()
throws IOException
- Description copied from class:
AbstractArchiverSubCrawler.ArchiveInputStream
- Returns the next archive entry
- Specified by:
getNextEntry
in class AbstractArchiverSubCrawler.ArchiveInputStream
- Returns:
- the next archive entry or null if the end of the stream has been reached
- Throws:
IOException
- if something goes wrong
closeEntry
public void closeEntry()
throws IOException
- Description copied from class:
AbstractArchiverSubCrawler.ArchiveInputStream
- closes the current archive entry
- Specified by:
closeEntry
in class AbstractArchiverSubCrawler.ArchiveInputStream
- Throws:
IOException
- if something goes wrong
Copyright © 2010 Aperture Development Team. All Rights Reserved.