|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.goerntkai.toolbox.fs.TextWriter
Writes the complete text in one file.
Method Summary | |
static void |
setTextDocument(java.io.File documentFile,
java.lang.String text)
This method uses FileWriter to write the content of the
document file. |
static void |
setTextDocument(java.io.File documentFile,
java.lang.StringBuffer text)
This method just calls setTextDocument(java.io.File, java.lang.String) to write
the content of the document file. |
static void |
setTextDocument(java.lang.String documentFile,
java.lang.String text)
This method just calls setTextDocument(java.io.File, java.lang.String) to write
the content of the document file. |
static void |
setTextDocument(java.lang.String documentFile,
java.lang.StringBuffer text)
This method just calls setTextDocument(java.io.File, java.lang.String) to write
the content of the document file. |
static void |
setTextLines(java.io.File theFile,
java.lang.String[] textLines)
Writes every element of the array to a new line. |
static void |
setTextLines(java.lang.String theFile,
java.lang.String[] textLines)
Writes every element of the array to a new line. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void setTextDocument(java.io.File documentFile, java.lang.String text)
This method uses FileWriter
to write the content of the
document file.
documentFile
- the file to write totext
- the content of the documentpublic static void setTextDocument(java.io.File documentFile, java.lang.StringBuffer text)
This method just calls
setTextDocument(java.io.File, java.lang.String)
to write
the content of the document file.
documentFile
- the file to write totext
- the content of the documentsetTextDocument(File, String)
public static void setTextDocument(java.lang.String documentFile, java.lang.String text)
This method just calls
setTextDocument(java.io.File, java.lang.String)
to write
the content of the document file.
documentFile
- the name of the file to write totext
- the content of the documentsetTextDocument(File, String)
public static void setTextDocument(java.lang.String documentFile, java.lang.StringBuffer text)
This method just calls
setTextDocument(java.io.File, java.lang.String)
to write
the content of the document file.
documentFile
- the name of the file to write totext
- the content of the documentsetTextDocument(File, String)
public static void setTextLines(java.io.File theFile, java.lang.String[] textLines)
Writes every element of the array to a new line.
theFile
- the file to write to (must not be null
)textLines
- the lines to writepublic static void setTextLines(java.lang.String theFile, java.lang.String[] textLines)
Writes every element of the array to a new line.
theFile
- the file to write to (must not be null
)textLines
- the lines to write
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |