|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.reportgenerator.output.ReportFileWriter
public class ReportFileWriter
Field Summary | |
---|---|
private ArrayList |
lastEntry
|
private ArrayList |
lastSubentry
|
private File |
outputFile
|
private ArrayList |
TableofContents
|
private int |
type
|
private StringBuffer |
writer
|
Constructor Summary | |
---|---|
ReportFileWriter(String filename,
int Type)
|
Method Summary | |
---|---|
void |
appendLatexOutput(String string)
writes the string to the file, but first replaces some characters to their fitting latex representation |
void |
appendOutput(String string)
write the given output to the file |
void |
appendOutput(StringBuilder sb)
write the given content to the file |
void |
finish()
closes the file and therefore finishes the output |
String |
writeTableOfContents()
|
void |
writeTableofContentsEntry(String content)
Writes a table of content entry to the register |
void |
writeTableofContentsSubEntry(String content)
Writes a table of content entry to the subregister |
void |
writeTableofContentsSubSubEntry(String content)
Writes a table of content entry to the sub-subregister |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private File outputFile
private ArrayList TableofContents
private ArrayList lastEntry
private ArrayList lastSubentry
private StringBuffer writer
private int type
Constructor Detail |
---|
public ReportFileWriter(String filename, int Type)
Method Detail |
---|
public void appendOutput(String string)
string
- the string that shall be written to the file.public void appendOutput(StringBuilder sb)
public void appendLatexOutput(String string)
string
- the string that shall be written to the filepublic void finish()
public void writeTableofContentsEntry(String content)
public void writeTableofContentsSubEntry(String content)
public void writeTableofContentsSubSubEntry(String content)
public String writeTableOfContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |