|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrat.document.impl.MonolithicFileDocument
public class MonolithicFileDocument
Constructor Summary | |
---|---|
MonolithicFileDocument(java.io.File file)
|
Method Summary | |
---|---|
java.lang.String |
getName()
|
IDocumentCollection |
readArchive()
Reads contents of composite document. |
java.io.Reader |
reader()
Reads the content of this document. |
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 IDocumentCollection readArchive() throws java.io.IOException
IDocument
readArchive
in interface IDocument
IDocumentCollection
, not null
java.io.IOException
- if the document cannot be read
UnreadableArchiveException
- if this document is not an archive
or if this document is unreadablepublic java.io.Reader reader() throws java.io.IOException
IDocument
reader
in interface IDocument
Reader
not null
java.io.IOException
- if this document cannot be read
CompositeDocumentException
- if this document can only be read as
a composite archivepublic java.lang.String getName()
getName
in interface IResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |