Constructor and Description |
---|
MonolithicFileDocument(File file) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
IDocumentCollection |
readArchive()
Reads contents of composite document.
|
Reader |
reader()
Reads the content of this document.
|
public MonolithicFileDocument(File file)
public IDocumentCollection readArchive() throws IOException
IDocument
readArchive
in interface IDocument
IDocumentCollection
, not nullIOException
- if the document cannot be readUnreadableArchiveException
- if this document is not an archive
or if this document is unreadablepublic Reader reader() throws IOException
IDocument
reader
in interface IDocument
Reader
not nullIOException
- if this document cannot be readCompositeDocumentException
- if this document can only be read as
a composite archiveCopyright © 2006–2015. All rights reserved.