PtyModes for handling CR / LF
| Modifier and Type | Field and Description |
|---|---|
| private Buffer | |
| public static final Set | |
| private int | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized int | available()
Overrides java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. |
| protected int | |
| protected int | |
| protected Buffer | |
| public synchronized int | |
| public synchronized int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. Reads up to |
| protected int | |
| public synchronized void | |
| public synchronized void |
| buffer | back to summary |
|---|---|
| private Buffer buffer | |
| INPUT_OPTIONS | back to summary |
|---|---|
| public static final Set<PtyMode> INPUT_OPTIONS | |
| lastChar | back to summary |
|---|---|
| private int lastChar | |
| ttyOptions | back to summary |
|---|---|
| private final Set<PtyMode> ttyOptions | |
| TtyFilterInputStream | back to summary |
|---|---|
| public TtyFilterInputStream(InputStream in, Map<PtyMode, ?> modes) | |
| TtyFilterInputStream | back to summary |
|---|---|
| public TtyFilterInputStream(InputStream in, Collection<PtyMode> ttyOptions) | |
| available | back to summary |
|---|---|
| public synchronized int available() throws IOException Overrides java. Doc from java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. The next caller might be the same thread or another thread. A single read or skip of this many bytes will not block, but may read or skip fewer bytes.
| |
| handleCR | back to summary |
|---|---|
| protected int handleCR() throws IOException | |
| handleLF | back to summary |
|---|---|
| protected int handleLF() throws IOException | |
| insertCharacter | back to summary |
|---|---|
| protected Buffer insertCharacter(Buffer org, int c) | |
| read | back to summary |
|---|---|
| public synchronized int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public synchronized int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to
| |
| readRawInput | back to summary |
|---|---|
| protected int readRawInput() throws IOException | |
| write | back to summary |
|---|---|
| public synchronized void write(int c) | |
| write | back to summary |
|---|---|
| public synchronized void write(byte[] buf, int off, int len) | |