public interface IDocument extends IResource
Modifier and Type | Method and Description |
---|---|
IDocumentCollection |
readArchive()
Reads contents of composite document.
|
Reader |
reader()
Reads the content of this document.
|
Reader reader() throws IOException
Reader
not nullIOException
- if this document cannot be readCompositeDocumentException
- if this document can only be read as
a composite archiveIDocumentCollection readArchive() throws IOException
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.