|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.wvtool.generic.loader.SourceAsTextLoader
public class SourceAsTextLoader
This loader simply uses the defined source as text. It is a sort of hack in order to allow reading text directly from string attributes of Yale.
Field Summary | |
---|---|
private java.io.InputStream |
stream
|
Constructor Summary | |
---|---|
SourceAsTextLoader()
|
Method Summary | |
---|---|
void |
close(WVTDocumentInfo d)
Close the resource from which the given document has been read. |
java.io.InputStream |
loadDocument(WVTDocumentInfo d)
Open the document and return an input stream on it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.io.InputStream stream
Constructor Detail |
---|
public SourceAsTextLoader()
Method Detail |
---|
public java.io.InputStream loadDocument(WVTDocumentInfo d)
loadDocument
in interface WVTDocumentLoader
d
- the WVTDocumentInfo
about the document being
loaded
InputStream
public void close(WVTDocumentInfo d) throws WVToolException
close
in interface WVTDocumentLoader
d
- the WVTDocumentInfo
about the document
WVToolException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |