public class TtyFilterInputStream extends FilterInputStream
PtyModes for handling CR / LF| Modifier and Type | Field and Description |
|---|---|
static Set<PtyMode> |
INPUT_OPTIONS |
in| Constructor and Description |
|---|
TtyFilterInputStream(InputStream in,
Collection<PtyMode> ttyOptions) |
TtyFilterInputStream(InputStream in,
Map<PtyMode,?> modes) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
protected int |
handleCR() |
protected int |
handleLF() |
protected Buffer |
insertCharacter(Buffer org,
int c) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
protected int |
readRawInput() |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int c) |
close, mark, markSupported, read, reset, skippublic TtyFilterInputStream(InputStream in, Map<PtyMode,?> modes)
public TtyFilterInputStream(InputStream in, Collection<PtyMode> ttyOptions)
public void write(int c)
public void write(byte[] buf,
int off,
int len)
public int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionprotected int handleCR()
throws IOException
IOExceptionprotected int handleLF()
throws IOException
IOExceptionprotected int readRawInput()
throws IOException
IOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.