| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | Base64Encoder.
The TextStream takes a reader over binary data and returns a text reader. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Base64Encoder. | |
| pack-priv static final int[] | |
| pack-priv static final int[] | |
| pack-priv static final char | |
| pack-priv static final int | BUFSIZE
BinaryStream, reads a text input and decodes the printable characters into a binary output stream reads 1024 characters at a time from the input stream as there is a 3:4 output to input character ratio |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int[] | |
| pack-priv static final int[] | |
| pack-priv static final char |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static int[] | |
| private static int[] | |
| private static char | |
| pack-priv static final boolean |
| Base64Alphabet | back to summary |
|---|---|
| private static final Base64Encoder. | |
| Base64EncodingCharToInt | back to summary |
|---|---|
| pack-priv static final int[] Base64EncodingCharToInt | |
| Base64EncodingIntToChar | back to summary |
|---|---|
| pack-priv static final int[] Base64EncodingIntToChar | |
| Base64EncodingTerminator | back to summary |
|---|---|
| pack-priv static final char Base64EncodingTerminator | |
| BUFSIZE | back to summary |
|---|---|
| pack-priv static final int BUFSIZE BinaryStream, reads a text input and decodes the printable characters into a binary output stream reads 1024 characters at a time from the input stream as there is a 3:4 output to input character ratio | |
| BUFSIZE_BIN | back to summary |
|---|---|
| pack-priv static final int BUFSIZE_BIN | |
| BUFSIZE_TEXT | back to summary |
|---|---|
| pack-priv static final int BUFSIZE_TEXT | |
| URLSafe64CharToInt | back to summary |
|---|---|
| pack-priv static final int[] URLSafe64CharToInt | |
| URLSafe64IntToChar | back to summary |
|---|---|
| pack-priv static final int[] URLSafe64IntToChar | |
| URLSafe64IntToCharTerminator | back to summary |
|---|---|
| pack-priv static final char URLSafe64IntToCharTerminator | |
| Base64Encoder | back to summary |
|---|---|
| private Base64Encoder() | |
| init64CharToInt | back to summary |
|---|---|
| private static int[] init64CharToInt(Base64Encoder. | |
| init64IntToChar | back to summary |
|---|---|
| private static int[] init64IntToChar(Base64Encoder. | |
| init64IntToCharTerminator | back to summary |
|---|---|
| private static char init64IntToCharTerminator(Base64Encoder. | |
| isBase64Character | back to summary |
|---|---|
| pack-priv static final boolean isBase64Character(int c) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv char[] | |
| pack-priv int | |
| pack-priv int[] | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv Reader | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public void | close()
Implements abstract java. Implements java. Closes the stream and releases any system resources associated with it. |
| private void | |
| public boolean | markSupported()
Overrides java. Tells whether this stream supports the mark() operation. |
| public int | |
| public int | |
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read rlen)Implements abstract java. Reads characters into a portion of an array. |
| pack-priv int |
| _bufEnd | back to summary |
|---|---|
| pack-priv int _bufEnd | |
| _buffer | back to summary |
|---|---|
| pack-priv char[] _buffer | |
| _bufPos | back to summary |
|---|---|
| pack-priv int _bufPos | |
| _chartobin | back to summary |
|---|---|
| pack-priv int[] _chartobin | |
| _otherTerminator | back to summary |
|---|---|
| pack-priv int _otherTerminator | |
| _ready | back to summary |
|---|---|
| pack-priv boolean _ready | |
| _source | back to summary |
|---|---|
| pack-priv Reader _source | |
| _state | back to summary |
|---|---|
| pack-priv int _state | |
| _terminatingChar | back to summary |
|---|---|
| pack-priv int _terminatingChar | |
| _terminator | back to summary |
|---|---|
| pack-priv int _terminator | |
| BinaryStream | back to summary |
|---|---|
| pack-priv BinaryStream(Reader input, int[] chartobin, char terminator, char otherTerminator) | |
| BinaryStream | back to summary |
|---|---|
| pack-priv BinaryStream(Reader input, char altterminator) | |
| characterToBinary | back to summary |
|---|---|
| private int characterToBinary(final int c) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| loadNextBuffer | back to summary |
|---|---|
| private void loadNextBuffer() throws IOException | |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tells whether this stream supports the mark() operation. The default implementation always returns false. Subclasses should override this method.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached. Subclasses that intend to support efficient single-character input should override this method.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf) throws IOException Overrides java. Doc from java. Reads characters into an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If the length of
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int off, int rlen) throws IOException Implements abstract java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| terminatingChar | back to summary |
|---|---|
| pack-priv int terminatingChar() | |
| Access | Constructor and Description |
|---|---|
| public |
| EL | back to summary |
|---|---|
| public EL(int v, char l) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int[] | |
| pack-priv byte[] | |
| pack-priv char[] | |
| pack-priv int | |
| pack-priv int | |
| pack-priv final char | |
| pack-priv boolean | |
| pack-priv final InputStream | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract java. Implements java. Closes the stream and releases any system resources associated with it. |
| private void | |
| public void | mark(int
Limit on the number of characters that may be
read while still preserving the mark. After
reading this many characters, attempting to
reset the stream may fail. readAheadLimit)Overrides java. Marks the present position in the stream. |
| public boolean | markSupported()
Overrides java. Tells whether this stream supports the mark() operation. |
| public int | |
| public int | |
| public int | read(char[]
Destination buffer cbuf, int Offset at which to start storing characters off, int Maximum number of characters to read rlen)Implements abstract java. Reads characters into a portion of an array. |
| public boolean | |
| public void | |
| public long |
| _bintochar | back to summary |
|---|---|
| pack-priv final int[] _bintochar | |
| _inbuf | back to summary |
|---|---|
| pack-priv byte[] _inbuf | |
| _outbuf | back to summary |
|---|---|
| pack-priv char[] _outbuf | |
| _outBufEnd | back to summary |
|---|---|
| pack-priv int _outBufEnd | |
| _outBufPos | back to summary |
|---|---|
| pack-priv int _outBufPos | |
| _padding | back to summary |
|---|---|
| pack-priv final char _padding | |
| _ready | back to summary |
|---|---|
| pack-priv boolean _ready | |
| _source | back to summary |
|---|---|
| pack-priv final InputStream _source | |
| _state | back to summary |
|---|---|
| pack-priv int _state | |
| TextStream | back to summary |
|---|---|
| pack-priv TextStream(InputStream input, int[] bintochar, char terminator) | |
| TextStream | back to summary |
|---|---|
| public TextStream(InputStream input) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements abstract java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| loadNextBuffer | back to summary |
|---|---|
private void loadNextBuffer() throws IOException
| |
| mark | back to summary |
|---|---|
| public void mark(int readAheadLimit) throws IOException Overrides java. Doc from java. Marks the present position in the stream. Subsequent calls to reset() will attempt to reposition the stream to this point. Not all character-input streams support the mark() operation.
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tells whether this stream supports the mark() operation. The default implementation always returns false. Subclasses should override this method.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached. Subclasses that intend to support efficient single-character input should override this method.
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf) throws IOException Overrides java. Doc from java. Reads characters into an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If the length of
| |
| read | back to summary |
|---|---|
| public int read(char[] cbuf, int off, int rlen) throws IOException Implements abstract java. Doc from java. Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached. If
| |
| ready | back to summary |
|---|---|
| public boolean ready() throws IOException Overrides java. Doc from java. Tells whether this stream is ready to be read.
| |
| reset | back to summary |
|---|---|
| public void reset() throws IOException Overrides java. Doc from java. Resets the stream. If the stream has been marked, then attempt to reposition it at the mark. If the stream has not been marked, then attempt to reset it in some way appropriate to the particular stream, for example by repositioning it to its starting point. Not all character-input streams support the reset() operation, and some support reset() without supporting mark().
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached. If the stream is already at its end before this method is invoked, then no characters are skipped and zero is returned.
| |