The native library used is named jansi and is loaded using HawtJNI Runtime
Library
| Modifier and Type | Field and Description |
|---|---|
| private static final short[] | |
| private static final short[] | |
| private static final short | |
| private static final short | |
| private static final short | |
| private static final short | |
| private static final short | |
| private final long | |
| private static final short | |
| private static final short | |
| private static final short | |
| private static final short | |
| private static final short | |
| private final Kernel32. | |
| private boolean | |
| private final short | |
| private short | |
| private short |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private short | |
| protected void | processAttributeReset()
Overrides org. SGR 0 corresponding to Reset / Normal
|
| protected void | processChangeWindowTitle(String
window title text label)Overrides org. OSC 2;text BEL corresponding to Change Window title
|
| protected void | processCursorDown(int
count count)Overrides org. CSI n B corresponding to CUD – Cursor Down
|
| protected void | processCursorDownLine(int
line count count)Overrides org. CSI n E corresponding to CNL – Cursor Next Line
|
| protected void | processCursorLeft(int
count count)Overrides org. CSI n D corresponding to CUB – Cursor Back
|
| protected void | processCursorRight(int
count count)Overrides org. CSI n C corresponding to CUF – Cursor Forward
|
| protected void | processCursorTo(int
row row, int col col)Overrides org. CSI n ; m H corresponding to CUP – Cursor Position or
CSI n ; m f corresponding to HVP – Horizontal and Vertical Position
|
| protected void | processCursorToColumn(int
the column x)Overrides org. CSI n G corresponding to CHA – Cursor Horizontal Absolute
|
| protected void | processCursorUp(int
count count)Overrides org. CSI n A corresponding to CUU – Cursor Up
|
| protected void | processCursorUpLine(int
line count count)Overrides org. CSI n F corresponding to CPL – Cursor Previous Line
|
| protected void | processDefaultBackgroundColor()
Overrides org. SGR 49 corresponding to Default background color
|
| protected void | processDefaultTextColor()
Overrides org. SGR 39 corresponding to Default text color (foreground)
|
| protected void | processDeleteLine(int
option optionInt)Overrides org. CSI M ANSI code, corresponding to DL – Delete Line
|
| protected void | processEraseLine(int
eraseOption eraseOption)Overrides org. CSI n K ANSI code, corresponding to ED – Erase in Line
|
| protected void | processEraseScreen(int
eraseOption eraseOption)Overrides org. CSI n J ANSI code, corresponding to ED – Erase in Display
|
| protected void | processInsertLine(int
option optionInt)Overrides org. CSI L ANSI code, corresponding to IL – Insert Line
|
| protected void | processRestoreCursorPosition()
Overrides org. CSI u ANSI code, corresponding to RCP – Restore Cursor Position
|
| protected void | processSaveCursorPosition()
Overrides org. CSI s ANSI code, corresponding to SCP – Save Cursor Position
|
| protected void | processSetAttribute(int
attribute attribute)Overrides org. SGR other than 0 (reset), 30-39 (foreground),
40-49 (background), 90-97 (foreground high intensity) or
100-107 (background high intensity)
|
| protected void | processSetBackgroundColor(int
the background color color, boolean is high intensity? bright)Overrides org. SGR 40-47 or SGR 100-107 corresponding to
Set background color either in normal mode or high intensity.
|
| protected void | processSetBackgroundColorExt(int
the background color in the palette paletteIndex)Overrides org. SGR 48 corresponding to extended set background color
with a palette of 255 colors.
|
| protected void | processSetBackgroundColorExt(int
red r, int green g, int blue b)Overrides org. SGR 48 corresponding to extended set background color
with a 24 bits RGB definition of the color.
|
| protected void | processSetForegroundColor(int
the text color color, boolean is high intensity? bright)Overrides org. SGR 30-37 or SGR 90-97 corresponding to
Set text color (foreground) either in normal mode or high intensity.
|
| protected void | processSetForegroundColorExt(int
the text color in the palette paletteIndex)Overrides org. SGR 38 corresponding to extended set text color (foreground)
with a palette of 255 colors.
|
| protected void | processSetForegroundColorExt(int
red r, int green g, int blue b)Overrides org. SGR 38 corresponding to extended set text color (foreground)
with a 24 bits RGB definition of the color.
|
| ANSI_BACKGROUND_COLOR_MAP | back to summary |
|---|---|
| private static final short[] ANSI_BACKGROUND_COLOR_MAP | |
| ANSI_FOREGROUND_COLOR_MAP | back to summary |
|---|---|
| private static final short[] ANSI_FOREGROUND_COLOR_MAP | |
| BACKGROUND_BLACK | back to summary |
|---|---|
| private static final short BACKGROUND_BLACK | |
| BACKGROUND_CYAN | back to summary |
|---|---|
| private static final short BACKGROUND_CYAN | |
| BACKGROUND_MAGENTA | back to summary |
|---|---|
| private static final short BACKGROUND_MAGENTA | |
| BACKGROUND_WHITE | back to summary |
|---|---|
| private static final short BACKGROUND_WHITE | |
| BACKGROUND_YELLOW | back to summary |
|---|---|
| private static final short BACKGROUND_YELLOW | |
| console | back to summary |
|---|---|
| private final long console | |
| FOREGROUND_BLACK | back to summary |
|---|---|
| private static final short FOREGROUND_BLACK | |
| FOREGROUND_CYAN | back to summary |
|---|---|
| private static final short FOREGROUND_CYAN | |
| FOREGROUND_MAGENTA | back to summary |
|---|---|
| private static final short FOREGROUND_MAGENTA | |
| FOREGROUND_WHITE | back to summary |
|---|---|
| private static final short FOREGROUND_WHITE | |
| FOREGROUND_YELLOW | back to summary |
|---|---|
| private static final short FOREGROUND_YELLOW | |
| info | back to summary |
|---|---|
| private final Kernel32. | |
| negative | back to summary |
|---|---|
| private boolean negative | |
| originalColors | back to summary |
|---|---|
| private final short originalColors | |
| savedX | back to summary |
|---|---|
| private short savedX | |
| savedY | back to summary |
|---|---|
| private short savedY | |
| WindowsAnsiProcessor | back to summary |
|---|---|
| public WindowsAnsiProcessor(OutputStream ps, long console) throws IOException | |
| WindowsAnsiProcessor | back to summary |
|---|---|
| public WindowsAnsiProcessor(OutputStream ps, boolean stdout) throws IOException | |
| WindowsAnsiProcessor | back to summary |
|---|---|
| public WindowsAnsiProcessor(OutputStream ps) throws IOException | |
| applyAttribute | back to summary |
|---|---|
| private void applyAttribute() throws IOException | |
| applyCursorPosition | back to summary |
|---|---|
| private void applyCursorPosition() throws IOException | |
| getConsoleInfo | back to summary |
|---|---|
| private void getConsoleInfo() throws IOException | |
| invertAttributeColors | back to summary |
|---|---|
| private short invertAttributeColors(short attributes) | |
| processAttributeReset | back to summary |
|---|---|
| protected void processAttributeReset() throws IOException Overrides org. Doc from org. process
| |
| processChangeWindowTitle | back to summary |
|---|---|
| protected void processChangeWindowTitle(String label) Overrides org. Doc from org. process | |
| processCursorDown | back to summary |
|---|---|
| protected void processCursorDown(int count) throws IOException Overrides org. Doc from org. process
| |
| processCursorDownLine | back to summary |
|---|---|
| protected void processCursorDownLine(int count) throws IOException Overrides org. Doc from org. process
| |
| processCursorLeft | back to summary |
|---|---|
| protected void processCursorLeft(int count) throws IOException Overrides org. Doc from org. process
| |
| processCursorRight | back to summary |
|---|---|
| protected void processCursorRight(int count) throws IOException Overrides org. Doc from org. process
| |
| processCursorTo | back to summary |
|---|---|
| protected void processCursorTo(int row, int col) throws IOException Overrides org. Doc from org. process
| |
| processCursorToColumn | back to summary |
|---|---|
| protected void processCursorToColumn(int x) throws IOException Overrides org. Doc from org. process
| |
| processCursorUp | back to summary |
|---|---|
| protected void processCursorUp(int count) throws IOException Overrides org. Doc from org. process
| |
| processCursorUpLine | back to summary |
|---|---|
| protected void processCursorUpLine(int count) throws IOException Overrides org. Doc from org. process
| |
| processDefaultBackgroundColor | back to summary |
|---|---|
| protected void processDefaultBackgroundColor() throws IOException Overrides org. Doc from org. process
| |
| processDefaultTextColor | back to summary |
|---|---|
| protected void processDefaultTextColor() throws IOException Overrides org. Doc from org. process
| |
| processDeleteLine | back to summary |
|---|---|
| protected void processDeleteLine(int optionInt) throws IOException Overrides org. Doc from org. Process
| |
| processEraseLine | back to summary |
|---|---|
| protected void processEraseLine(int eraseOption) throws IOException Overrides org. Doc from org. Process
| |
| processEraseScreen | back to summary |
|---|---|
| protected void processEraseScreen(int eraseOption) throws IOException Overrides org. Doc from org. Process
| |
| processInsertLine | back to summary |
|---|---|
| protected void processInsertLine(int optionInt) throws IOException Overrides org. Doc from org. Process
| |
| processRestoreCursorPosition | back to summary |
|---|---|
| protected void processRestoreCursorPosition() throws IOException Overrides org. Doc from org. Process
| |
| processSaveCursorPosition | back to summary |
|---|---|
| protected void processSaveCursorPosition() throws IOException Overrides org. Doc from org. Process
| |
| processSetAttribute | back to summary |
|---|---|
| protected void processSetAttribute(int attribute) throws IOException Overrides org. Doc from org. process
| |
| processSetBackgroundColor | back to summary |
|---|---|
| protected void processSetBackgroundColor(int color, boolean bright) throws IOException Overrides org. Doc from org. process
| |
| processSetBackgroundColorExt | back to summary |
|---|---|
| protected void processSetBackgroundColorExt(int paletteIndex) throws IOException Overrides org. Doc from org. process
| |
| processSetBackgroundColorExt | back to summary |
|---|---|
| protected void processSetBackgroundColorExt(int r, int g, int b) throws IOException Overrides org. Doc from org. process
| |
| processSetForegroundColor | back to summary |
|---|---|
| protected void processSetForegroundColor(int color, boolean bright) throws IOException Overrides org. Doc from org. process
| |
| processSetForegroundColorExt | back to summary |
|---|---|
| protected void processSetForegroundColorExt(int paletteIndex) throws IOException Overrides org. Doc from org. process
| |
| processSetForegroundColorExt | back to summary |
|---|---|
| protected void processSetForegroundColorExt(int r, int g, int b) throws IOException Overrides org. Doc from org. process
| |