public interface Document
Modifier and Type | Method and Description |
---|---|
MetaData |
getMetaData()
Gets data describing this resource.
|
String |
getName() |
InputStream |
inputStream()
Streams the document's contents.
|
boolean |
isComposite()
Is this a composite document?
|
Reader |
reader()
Reads the content of this document.
|
String getName()
Reader reader() throws IOException
Reader
not nullIOException
- if this document cannot be readCompositeDocumentException
- if this document can only be read as
a composite archiveInputStream inputStream() throws IOException
IOException
- when stream could not be openedMetaData getMetaData()
boolean isComposite()
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.