public class MonolithicFileDocument extends AbstractMonolithicDocument
| Constructor and Description |
|---|
MonolithicFileDocument(File file) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
inputStream()
Streams the document's contents.
|
static Document |
newInstance(URL url)
Creates a new instance.
|
Reader |
reader()
Reads the content of this document.
|
getMetaData, getName, isCompositepublic MonolithicFileDocument(File file)
public static Document newInstance(URL url)
public Reader reader() throws IOException
DocumentReader not nullIOException - if this document cannot be readCompositeDocumentException - if this document can only be read as
a composite archivepublic InputStream inputStream() throws IOException
DocumentIOException - when stream could not be openedCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.