|
||||||||||
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 java.util.ArrayList |
lastEntry
|
private java.util.ArrayList |
lastSubentry
|
private java.io.File |
outputFile
|
private java.util.ArrayList |
TableofContents
|
private int |
type
|
private java.lang.StringBuffer |
writer
|
Constructor Summary | |
---|---|
ReportFileWriter(java.lang.String filename,
int Type)
|
Method Summary | |
---|---|
void |
appendLatexOutput(java.lang.String string)
writes the string to the file, but first replaces some characters to their fitting latex representation |
void |
appendOutput(java.lang.String string)
write the given output to the file |
void |
appendOutput(java.lang.StringBuilder sb)
write the given content to the file |
void |
finish()
closes the file and therefore finishes the output |
java.lang.String |
writeTableOfContents()
|
void |
writeTableofContentsEntry(java.lang.String content)
Writes a table of content entry to the register |
void |
writeTableofContentsSubEntry(java.lang.String content)
Writes a table of content entry to the subregister |
void |
writeTableofContentsSubSubEntry(java.lang.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 java.io.File outputFile
private java.util.ArrayList TableofContents
private java.util.ArrayList lastEntry
private java.util.ArrayList lastSubentry
private java.lang.StringBuffer writer
private int type
Constructor Detail |
---|
public ReportFileWriter(java.lang.String filename, int Type)
Method Detail |
---|
public void appendOutput(java.lang.String string)
string
- the string that shall be written to the file.public void appendOutput(java.lang.StringBuilder sb)
public void appendLatexOutput(java.lang.String string)
string
- the string that shall be written to the filepublic void finish()
public void writeTableofContentsEntry(java.lang.String content)
public void writeTableofContentsSubEntry(java.lang.String content)
public void writeTableofContentsSubSubEntry(java.lang.String content)
public java.lang.String writeTableOfContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |