Java java.util.logging FileHandler fields, constructors, methods, implement or subclass

Example usage for Java java.util.logging FileHandler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.logging FileHandler.

The text is from its open source code.

Subclass

java.util.logging.FileHandler has subclasses.
Click this link to see all its subclasses.

Constructor

FileHandler(String pattern)
Initialize a FileHandler to write to the given filename.
FileHandler(String pattern, boolean append)
Initialize a FileHandler to write to the given filename, with optional append.
FileHandler()
Construct a default FileHandler .
FileHandler(String pattern, int limit, int count)
Initialize a FileHandler to write to a set of files.
FileHandler(String pattern, int limit, int count, boolean append)
Initialize a FileHandler to write to a set of files with optional append.
FileHandler(String pattern, long limit, int count, boolean append)
Initialize a FileHandler to write to a set of files with optional append.

Method

voidclose()
Close all the files.
voidflush()
Flush any buffered messages.
ClassgetClass()
Returns the runtime class of this Object .
voidpublish(LogRecord record)
Format and publish a LogRecord .
voidsetEncoding(String encoding)
Set (or change) the character encoding used by this Handler .
voidsetFormatter(Formatter newFormatter)
Set a Formatter .
voidsetLevel(Level newLevel)
Set the log level specifying which message levels will be logged by this Handler .