public interface Document
| Modifier and Type | Method and Description |
|---|---|
MetaData |
getMetaData()
Gets data describing this resource.
|
java.lang.String |
getName() |
java.io.InputStream |
inputStream()
Streams the document's contents.
|
boolean |
isComposite()
Is this a composite document?
|
java.io.Reader |
reader()
Reads the content of this document.
|
java.lang.String getName()
java.io.Reader reader()
throws java.io.IOException
Reader not nulljava.io.IOException - if this document cannot be readCompositeDocumentException - if this document can only be read as
a composite archivejava.io.InputStream inputStream()
throws java.io.IOException
java.io.IOException - when stream could not be openedMetaData getMetaData()
boolean isComposite()