public class ZipFileDocument extends CompositeDocument
Constructor and Description |
---|
ZipFileDocument(File file) |
Modifier and Type | Method and Description |
---|---|
IDocumentCollection |
readArchive()
Reads contents of composite document.
|
getName, reader
public ZipFileDocument(File file)
public IDocumentCollection readArchive() throws IOException
IDocument
IDocumentCollection
, not nullIOException
- if the document cannot be readUnreadableArchiveException
- if this document is not an archive
or if this document is unreadableCopyright © 2006–2013. All rights reserved.