|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.rat.document.impl.AbstractMonolithicDocument
org.apache.rat.document.impl.MonolithicFileDocument
public class MonolithicFileDocument
| Constructor Summary | |
|---|---|
MonolithicFileDocument(java.io.File file)
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
inputStream()
Streams the document's contents. |
static Document |
newInstance(java.net.URL url)
Creates a new instance. |
java.io.Reader |
reader()
Reads the content of this document. |
| Methods inherited from class org.apache.rat.document.impl.AbstractMonolithicDocument |
|---|
getMetaData, getName, isComposite |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonolithicFileDocument(java.io.File file)
| Method Detail |
|---|
public static Document newInstance(java.net.URL url)
public java.io.Reader reader()
throws java.io.IOException
Document
Reader not null
java.io.IOException - if this document cannot be read
CompositeDocumentException - if this document can only be read as
a composite archive
public java.io.InputStream inputStream()
throws java.io.IOException
Document
java.io.IOException - when stream could not be opened
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||