Package gnu.io
Class Zystem
- java.lang.Object
-
- gnu.io.Zystem
-
public class Zystem extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intFILE_MODEstatic intJ2EE_MSG_MODEstatic intJ2SE_LOG_MODEstatic intMEX_MODEstatic intNET_MODEstatic intPRINT_MODEstatic intSILENT_MODE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilewrite(java.lang.String s)voidfinalize()booleanreport(java.lang.String s)booleanreportln()booleanreportln(java.lang.String s)voidstartLogger()voidstartLogger(java.lang.String t)
-
-
-
Field Detail
-
SILENT_MODE
public static final int SILENT_MODE
- See Also:
- Constant Field Values
-
FILE_MODE
public static final int FILE_MODE
- See Also:
- Constant Field Values
-
NET_MODE
public static final int NET_MODE
- See Also:
- Constant Field Values
-
MEX_MODE
public static final int MEX_MODE
- See Also:
- Constant Field Values
-
PRINT_MODE
public static final int PRINT_MODE
- See Also:
- Constant Field Values
-
J2EE_MSG_MODE
public static final int J2EE_MSG_MODE
- See Also:
- Constant Field Values
-
J2SE_LOG_MODE
public static final int J2SE_LOG_MODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Zystem
public Zystem(int m) throws UnSupportedLoggerException- Throws:
UnSupportedLoggerException
-
Zystem
public Zystem() throws UnSupportedLoggerExceptionConstructor. Mode is taken from the java system property "gnu.io.log.mode". The available values are :- SILENT_MODE No logging
- FILE_MODE log to file
- NET_MODE
- MEX_MODE
- PRINT_MODE
- J2EE_MSG_MODE
- J2SE_LOG_MODE log to java.util.logging
- Throws:
UnSupportedLoggerException
-
-
Method Detail
-
startLogger
public void startLogger() throws UnSupportedLoggerException- Throws:
UnSupportedLoggerException
-
startLogger
public void startLogger(java.lang.String t) throws UnSupportedLoggerException- Throws:
UnSupportedLoggerException
-
finalize
public void finalize()
- Overrides:
finalizein classjava.lang.Object
-
filewrite
public void filewrite(java.lang.String s)
-
report
public boolean report(java.lang.String s)
-
reportln
public boolean reportln()
-
reportln
public boolean reportln(java.lang.String s)
-
-