Package io.github.astrapi69.file.write
Class LineAppender
java.lang.Object
io.github.astrapi69.file.write.LineAppender
The
LineAppender
class provides utility methods for appending lines of text to a file.
This class cannot be instantiated
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendLines
(File file, String... lineToAppend) Appends the given lines to the givenFile
object
-
Method Details
-
appendLines
Appends the given lines to the givenFile
object- Parameters:
file
- The source filelineToAppend
- The lines to append- Throws:
IOException
- Signals that an I/O exception has occurred.
-