public class WindowsSupport
extends java.lang.Object
Constructor and Description |
---|
WindowsSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
flushConsoleInputBuffer() |
static int |
getConsoleMode() |
static java.lang.String |
getLastErrorMessage() |
static int |
getWindowsTerminalHeight() |
static int |
getWindowsTerminalWidth() |
static Kernel32.INPUT_RECORD[] |
peekConsoleInput(int count) |
static Kernel32.INPUT_RECORD[] |
peekConsoleInput(int count,
int dwMilliseconds) |
static int |
readByte() |
static Kernel32.INPUT_RECORD[] |
readConsoleInput(int count) |
static Kernel32.INPUT_RECORD[] |
readConsoleInput(int count,
int dwMilliseconds) |
static void |
setConsoleMode(int mode) |
static int |
writeConsole(java.lang.String msg) |
public static java.lang.String getLastErrorMessage()
public static int readByte()
public static int getConsoleMode()
public static void setConsoleMode(int mode)
public static int getWindowsTerminalWidth()
public static int getWindowsTerminalHeight()
public static int writeConsole(java.lang.String msg)
public static Kernel32.INPUT_RECORD[] readConsoleInput(int count, int dwMilliseconds) throws java.io.IOException
java.io.IOException
public static Kernel32.INPUT_RECORD[] readConsoleInput(int count) throws java.io.IOException
java.io.IOException
public static Kernel32.INPUT_RECORD[] peekConsoleInput(int count, int dwMilliseconds) throws java.io.IOException
java.io.IOException
public static Kernel32.INPUT_RECORD[] peekConsoleInput(int count) throws java.io.IOException
java.io.IOException
public static void flushConsoleInputBuffer()
Copyright © 2009–2021 FuseSource, Corp.. All rights reserved.