rat.document.impl.zip
Class ZipFileDocument
java.lang.Object
rat.document.impl.CompositeDocument
rat.document.impl.zip.ZipFileDocument
- All Implemented Interfaces:
- IDocument, IResource
public class ZipFileDocument
- extends CompositeDocument
Document which is a zip file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipFileDocument
public ZipFileDocument(File file)
readArchive
public IDocumentCollection readArchive()
throws IOException
- Description copied from interface:
IDocument
- Reads contents of composite document.
- Returns:
IDocumentCollection
, not null
- Throws:
IOException
- if the document cannot be read
UnreadableArchiveException
- if this document is not an archive
or if this document is unreadable
Copyright © 2006-2011. All Rights Reserved.