Class FileWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable

    public class FileWriter
    extends java.io.OutputStreamWriter
    • Field Summary

      • Fields inherited from class java.io.Writer

        lock
    • Method Summary

      • Methods inherited from class java.io.OutputStreamWriter

        append, append, close, flush, getEncoding, write, write, write
      • Methods inherited from class java.io.Writer

        append, nullWriter, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileWriter

        public FileWriter​(File file)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • FileWriter

        public FileWriter​(File file,
                          File.WriteMode mode)
                   throws java.io.IOException
        Throws:
        java.io.IOException