Example usage for Java java.io FileWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
FileWriter(String fileName) Constructs a FileWriter given a file name, using the platform's java.nio.charset.Charset#defaultCharset() default charset | |
FileWriter(File file) Constructs a FileWriter given the File to write, using the platform's java.nio.charset.Charset#defaultCharset() default charset | |
FileWriter(FileDescriptor fd) Constructs a FileWriter given a file descriptor, using the platform's java.nio.charset.Charset#defaultCharset() default charset . | |
FileWriter(String fileName, boolean append) Constructs a FileWriter given a file name and a boolean indicating whether to append the data written, using the platform's java.nio.charset.Charset#defaultCharset() default charset . | |
FileWriter(File file, boolean append) Constructs a FileWriter given the File to write and a boolean indicating whether to append the data written, using the platform's java.nio.charset.Charset#defaultCharset() default charset . | |
FileWriter(String fileName, Charset charset) Constructs a FileWriter given a file name and java.nio.charset.Charset charset . | |
FileWriter(File file, Charset charset) Constructs a FileWriter given the File to write and java.nio.charset.Charset charset . |
Writer | append(CharSequence csq) |
void | close() |
void | flush() Flushes the stream. |
String | getEncoding() Returns the name of the character encoding being used by this stream. |
String | toString() Returns a string representation of the object. |
void | write(int c) Writes a single character. |
void | write(char cbuf[], int off, int len) Writes a portion of an array of characters. |