java.lang.Object
io.github.astrapi69.file.write.LineAppender

public final class LineAppender extends Object
The LineAppender class provides utility methods for appending lines of text to a file.

This class cannot be instantiated

  • Method Details

    • appendLines

      public static void appendLines(File file, String... lineToAppend) throws IOException
      Appends the given lines to the given File object
      Parameters:
      file - The source file
      lineToAppend - The lines to append
      Throws:
      IOException - Signals that an I/O exception has occurred.