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.StreamHandlerLogging file handler. Has autoflush capability.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.Filefile
-
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.FilegetFile()booleanisAutoflush()voidpublish(java.util.logging.LogRecord record)voidsetAutoflush(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.SecurityExceptionjava.io.FileNotFoundException
-
FileHandler
public FileHandler(java.io.File file) throws java.lang.SecurityException, java.io.FileNotFoundException- Throws:
java.lang.SecurityExceptionjava.io.FileNotFoundException
-
-