Class FileAppender

    • Constructor Summary

      Constructors 
      Constructor Description
      FileAppender​(java.io.File file)
      Create a new FileAppender appending to (and not overwriting) the specified File.
      FileAppender​(java.io.File file, boolean append)
      Create a new FileAppender writing to the specified File.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • FileAppender

        public FileAppender​(java.io.File file)
                     throws java.io.IOException
        Create a new FileAppender appending to (and not overwriting) the specified File.
        Throws:
        java.io.IOException - If an I/O error occurred opening the file.
      • FileAppender

        public FileAppender​(java.io.File file,
                            boolean append)
                     throws java.io.IOException
        Create a new FileAppender writing to the specified File.
        Parameters:
        append - If true the file will be appended to, otherwise it will be completely overwritten.
        Throws:
        java.io.IOException - If an I/O error occurred opening the file.