Closeable
, Flushable
, AutoCloseable
public class WindowsConsoleOutputStream extends OutputStream
Constructor | Description |
---|---|
WindowsConsoleOutputStream(com.sun.jna.platform.win32.WinNT.HANDLE hConsoleOutput,
Charset decoderCharset) |
|
WindowsConsoleOutputStream(Charset decoder) |
Modifier and Type | Method | Description |
---|---|---|
void |
flush() |
|
Charset |
getDecoderCharset() |
|
com.sun.jna.platform.win32.WinNT.HANDLE |
getHandle() |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, write
public WindowsConsoleOutputStream(Charset decoder)
public WindowsConsoleOutputStream(com.sun.jna.platform.win32.WinNT.HANDLE hConsoleOutput, Charset decoderCharset)
public com.sun.jna.platform.win32.WinNT.HANDLE getHandle()
public Charset getDecoderCharset()
public void write(int b)
write
in class OutputStream
public void write(byte[] b, int off, int len)
write
in class OutputStream
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
Copyright © 2020. All rights reserved.