| java.lang.Object ti.swing.console.InputAdapter ti.swing.console.LogInputHandler
LogInputHandler | public class LogInputHandler extends InputAdapter (Code) | | The LogInputHandler class logs everything written to a console to an output
stream.
|
Constructor Summary | |
public | LogInputHandler(Console console, Writer out) Class constructor.
Parameters: console - the console view to which this input handler attaches to. | public | LogInputHandler(Console console, OutputStream out) Class constructor.
Parameters: console - the console view to which this input handler attaches to. |
Method Summary | |
public void | append(char[] cbuf, int off, int len) Append characters to the end of the character stream. | public void | close() | public void | zap(int num) Delete characters from end of character stream. |
BG_COLOR_ATTR | int BG_COLOR_ATTR(Code) | | |
FG_COLOR_ATTR | int FG_COLOR_ATTR(Code) | | |
colorIndex | int colorIndex(Code) | | |
currAttrTye | int currAttrTye(Code) | | |
openColorAttrCount | int openColorAttrCount(Code) | | |
receivedEscChar | boolean receivedEscChar(Code) | | |
LogInputHandler | public LogInputHandler(Console console, Writer out)(Code) | | Class constructor.
Parameters: console - the console view to which this input handler attaches to. Parameters: out - the output stream to log to |
LogInputHandler | public LogInputHandler(Console console, OutputStream out) throws IOException(Code) | | Class constructor.
Parameters: console - the console view to which this input handler attaches to. Parameters: out - the output stream to log to |
append | public void append(char[] cbuf, int off, int len)(Code) | | Append characters to the end of the character stream.
Parameters: cbuf - the character buffer Parameters: off - the offset into cbuf to first character to append Parameters: len - the number of characters to append |
close | public void close()(Code) | | |
zap | public void zap(int num)(Code) | | Delete characters from end of character stream.
Parameters: num - the number of characters to delete |
|
|