public class FileAppender extends StreamAppender
appender writing log entries to Files.| Constructor and 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. |
append, closepublic FileAppender(java.io.File file)
throws java.io.IOException
FileAppender appending to (and not
overwriting) the specified File.java.io.IOException - If an I/O error occurred opening the file.public FileAppender(java.io.File file,
boolean append)
throws java.io.IOException
FileAppender writing to the specified File.append - If true the file will be appended to,
otherwise it will be completely overwritten.java.io.IOException - If an I/O error occurred opening the file.Copyright © 2018 Oracle Corporation. All Rights Reserved.