Public class FileWriter extends OutputStreamWriter
Constructor | Description |
---|---|
FileWriter (File file) | The function of this constructor is to construct the file write object and writes the given file. |
FileWriter(String FileName) | This constructor creates a FileWriter object and the FileName is given to write. |
FileWriter(FileDescriptor fd) | This constructor creates a FileWriter object and the FileDescriptor is given to write. |
FileWriter (File file,Boolean append) | A file writer object is created by this constructor and writes the given file. |
FileWriter(String fileName, boolean append) | A file writer object is created by this constructor and the file name which is indicated by the boolean is used to add the data written or not. |