public class TtyFilterInputStream extends FilterInputStream
PtyMode
s for
handling CR / LFModifier 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, skip
public 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 FilterInputStream
IOException
public int read() throws IOException
read
in class FilterInputStream
IOException
protected int handleCR() throws IOException
IOException
protected int handleLF() throws IOException
IOException
protected int readRawInput() throws IOException
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.