public class AccessLogFileHandler
extends java.util.logging.FileHandler
AccessLogFormatter by default. Also
useful in configuration files to differentiate from the
FileHandler.| Constructor and Description |
|---|
AccessLogFileHandler()
Constructor.
|
AccessLogFileHandler(java.lang.String pattern)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
boolean append)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
int limit,
int count)
Constructor.
|
AccessLogFileHandler(java.lang.String pattern,
int limit,
int count,
boolean append)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Initialization code common to all constructors.
|
flush, isLoggable, setEncoding, setOutputStreampublic AccessLogFileHandler()
throws java.io.IOException,
java.lang.SecurityException
java.io.IOExceptionjava.lang.SecurityExceptionpublic AccessLogFileHandler(java.lang.String pattern)
throws java.io.IOException,
java.lang.SecurityException
pattern - The name of the output file.java.io.IOExceptionjava.lang.SecurityExceptionpublic AccessLogFileHandler(java.lang.String pattern,
boolean append)
throws java.io.IOException,
java.lang.SecurityException
pattern - The name of the output file.append - Specifies append mode.java.io.IOExceptionjava.lang.SecurityExceptionpublic AccessLogFileHandler(java.lang.String pattern,
int limit,
int count)
throws java.io.IOException,
java.lang.SecurityException
pattern - The name of the output file.limit - The maximum number of bytes to write to any one file.count - The number of files to use.java.io.IOExceptionjava.lang.SecurityExceptionpublic AccessLogFileHandler(java.lang.String pattern,
int limit,
int count,
boolean append)
throws java.io.IOException,
java.lang.SecurityException
pattern - The name of the output file.limit - The maximum number of bytes to write to any one file.count - The number of files to use.append - Specifies append mode.java.io.IOExceptionjava.lang.SecurityExceptionCopyright © 2005-2024 Restlet.