|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.scot.app.document.SCoTDocument
de.goerntkai.scot.app.document.ContentDocument
Represents a file which is found in ./contents
and listed in
content.order
.
Constructor Summary | |
ContentDocument(java.lang.String path,
Configuration aConfiguration)
Instantiates one standard SCoT content file. |
Method Summary | |
SCoTBlock[] |
getContent()
Returns the content as an array of SCoTBlock s. |
Methods inherited from class de.goerntkai.scot.app.document.SCoTDocument |
getBlocks, getConfiguration, getLine, getLines, getLines, getLines, getReference, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContentDocument(java.lang.String path, Configuration aConfiguration) throws java.io.FileNotFoundException
path
- path and name of the fileaConfiguration
- the configuration of this application
java.io.FileNotFoundException
Method Detail |
public SCoTBlock[] getContent() throws java.io.FileNotFoundException
Returns the content as an array of SCoTBlock
s. The
content consists of the filename as HTML anchor and the content itself
following.
SCoTBlock
s
java.io.FileNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |