|
||||||||||
| 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 | |
|---|---|
static IDocument |
newInstance(java.net.URL url)
Creates a new instance. |
IDocumentCollection |
readArchive()
Reads contents of composite document. |
java.io.Reader |
reader()
Reads the content of this document. |
| Methods inherited from class org.apache.rat.document.impl.AbstractMonolithicDocument |
|---|
getName |
| 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 IDocument newInstance(java.net.URL url)
public IDocumentCollection readArchive()
throws java.io.IOException
IDocument
readArchive in interface IDocumentreadArchive in class AbstractMonolithicDocumentIDocumentCollection, not null
java.io.IOException - if the document cannot be read
UnreadableArchiveException - if this document is not an archive
or if this document is unreadable
public java.io.Reader reader()
throws java.io.IOException
IDocument
Reader not null
java.io.IOException - if this document cannot be read
CompositeDocumentException - if this document can only be read as
a composite archive
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||