Class FileAppender
java.lang.Object
org.glassfish.grizzly.http.server.accesslog.StreamAppender
org.glassfish.grizzly.http.server.accesslog.FileAppender
- All Implemented Interfaces:
Closeable,AutoCloseable,AccessLogAppender
- Author:
- Pier Fumagalli, USRZ.com
-
Constructor Summary
ConstructorsConstructorDescriptionFileAppender(File file) Create a newFileAppenderappending to (and not overwriting) the specifiedFile.FileAppender(File file, boolean append) Create a newFileAppenderwriting to the specifiedFile. -
Method Summary
Methods inherited from class org.glassfish.grizzly.http.server.accesslog.StreamAppender
append, close
-
Constructor Details
-
FileAppender
Create a newFileAppenderappending to (and not overwriting) the specifiedFile.- Throws:
IOException- If an I/O error occurred opening the file.
-
FileAppender
Create a newFileAppenderwriting to the specifiedFile.- 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.
-