Package ipsk.util.logging
Class FileHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- java.util.logging.StreamHandler
-
- ipsk.util.logging.FileHandler
-
public class FileHandler extends java.util.logging.StreamHandler
Logging file handler. Has autoflush capability.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
file
-
Constructor Summary
Constructors Constructor Description FileHandler(java.io.File file)
FileHandler(java.io.File file, boolean append)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
boolean
isAutoflush()
void
publish(java.util.logging.LogRecord record)
void
setAutoflush(boolean autoflush)
-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Constructor Detail
-
FileHandler
public FileHandler(java.io.File file, boolean append) throws java.lang.SecurityException, java.io.FileNotFoundException
- Throws:
java.lang.SecurityException
java.io.FileNotFoundException
-
FileHandler
public FileHandler(java.io.File file) throws java.lang.SecurityException, java.io.FileNotFoundException
- Throws:
java.lang.SecurityException
java.io.FileNotFoundException
-
-