Class FileAppender

    • Constructor Detail

      • FileAppender

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

        public FileAppender​(File file,
                            boolean append)
                     throws 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:
        IOException - If an I/O error occurred opening the file.