Package psiprobe.tools.logging.jdk
Class Jdk14FileHandlerAccessor
- java.lang.Object
-
- psiprobe.tools.logging.DefaultAccessor
-
- psiprobe.tools.logging.AbstractLogDestination
-
- psiprobe.tools.logging.jdk.Jdk14HandlerAccessor
-
- psiprobe.tools.logging.jdk.Jdk14FileHandlerAccessor
-
- All Implemented Interfaces:
LogDestination
public class Jdk14FileHandlerAccessor extends Jdk14HandlerAccessor
JDK 1.4 Logging File Handler Accessor Class.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
LATEST_FILE_INDEX
-
Fields inherited from class psiprobe.tools.logging.DefaultAccessor
logger
-
-
Constructor Summary
Constructors Constructor Description Jdk14FileHandlerAccessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFile()
Currently, we only access the latest log file with index 0.-
Methods inherited from class psiprobe.tools.logging.jdk.Jdk14HandlerAccessor
getIndex, getLevel, getLoggerAccessor, getLogType, getName, getValidLevels, isContext, isRoot, setIndex, setLevel, setLoggerAccessor
-
Methods inherited from class psiprobe.tools.logging.AbstractLogDestination
getConversionPattern, getEncoding, getLastModified, getSize, getStdoutFile
-
Methods inherited from class psiprobe.tools.logging.DefaultAccessor
getApplication, getProperty, getProperty, getTarget, getTargetClass, invokeMethod, setApplication, setTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psiprobe.tools.logging.LogDestination
getApplication, getTargetClass
-
-
-
-
Field Detail
-
LATEST_FILE_INDEX
private static final int LATEST_FILE_INDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFile
public File getFile()
Currently, we only access the latest log file with index 0.- Specified by:
getFile
in interfaceLogDestination
- Overrides:
getFile
in classAbstractLogDestination
- Returns:
- the file
-
-