|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.io.FileWriter
Writes characters into a file.
| Constructor Summary | |
FileWriter()
|
|
| Method Summary | |
static void |
write(java.io.File file,
java.lang.String text)
Writes characters of a text into a file. |
static void |
write(java.io.File file,
java.lang.String text,
java.lang.String charsetName)
Writess characters of a text into the file. |
static void |
write(java.lang.String name,
java.lang.String text)
Writes characters of a text into the file. |
static void |
write(java.lang.String name,
java.lang.String text,
java.lang.String charsetName)
Writes characters of a text into the file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileWriter()
| Method Detail |
public static void write(java.lang.String name,
java.lang.String text)
throws java.io.FileNotFoundException,
java.io.IOException
name - The name of a file to be written.text - The text of a file.
java.io.FileNotFoundException - If the file did not exist or could not be opened for reading.
java.io.IOException - If an I/O error occurred.
public static void write(java.lang.String name,
java.lang.String text,
java.lang.String charsetName)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException,
java.io.IOException
name - The name of a file to be written.text - The text of a file.charsetName - The name of a text's charset.
java.io.FileNotFoundException - If the file did not exist or could not be opened for reading.
java.io.IOException - If an I/O error occurs
java.io.UnsupportedEncodingException
public static void write(java.io.File file,
java.lang.String text)
throws java.io.FileNotFoundException,
java.io.IOException
file - A file to be written.text - A text of the file.
java.io.FileNotFoundException - If the file did not exist or could not be opened for reading.
java.io.IOException - If an I/O error occurred.
public static void write(java.io.File file,
java.lang.String text,
java.lang.String charsetName)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException,
java.io.IOException
file - A file to be written.text - The text of a file.charsetName - The name of a text's charset.
java.io.FileNotFoundException - If the file did not exist or could not be opened for reading.
java.io.UnsupportedEncodingException - If the charset is not supported.
java.io.IOException - If an I/O error occurred.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||