
public class CLISmartHandler extends Handler
| Modifier and Type | Field and Description | 
|---|---|
| private Formatter | debugformatFormatter for debugging messages | 
| private Writer | errOutput stream for error output. | 
| private Formatter | errformatFormatter for error messages | 
| private Formatter | msgformatFormatter for regular messages (informational records) | 
| private Writer | outOutput stream for non-critical output. | 
| private ProgressTracker | ptrackTracker for progress messages | 
| Constructor and Description | 
|---|
| CLISmartHandler()Default constructor using  System.outandSystem.err | 
| CLISmartHandler(OutputStream out,
               OutputStream err)Constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close output streams. | 
| void | flush()Flush output streams | 
| void | publish(LogRecord record)Publish a log record. | 
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelprivate Writer out
private Writer err
private Formatter msgformat
private Formatter debugformat
private Formatter errformat
private ProgressTracker ptrack
public CLISmartHandler(OutputStream out, OutputStream err)
out - Regular output streamerr - Error output streampublic CLISmartHandler()
System.out and System.errpublic void close()
           throws SecurityException
close in class HandlerSecurityException