|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CS
Method Summary | |
---|---|
void |
close()
Clean up CS object state. |
CSFileLoader |
getFileLoader()
Get the file loader in use, if any. |
HDF |
getGlobalHDF()
Return global hdf in use |
void |
parseFile(String filename)
Parses the specified file as if it has template content. |
void |
parseStr(String content)
Parse the given string as a CS template. |
String |
render()
Generate output from the CS templates and HDF objects that have been read in. |
void |
setFileLoader(CSFileLoader fileLoader)
Set the CS file loader to use |
void |
setGlobalHDF(HDF global)
Specify a new/different global HDF |
Method Detail |
---|
void setGlobalHDF(HDF global)
HDF getGlobalHDF()
void close()
close
in interface Closeable
void parseFile(String filename) throws IOException
filename
- the name of file to read in and parse.
FileNotFoundException
- if the specified file does not
exist.
IOException
- other problems reading the file.void parseStr(String content)
content
- string to parse.String render()
CSFileLoader getFileLoader()
void setFileLoader(CSFileLoader fileLoader)
fileLoader
- the file loader that should be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |