| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final byte[] | |
| pack-priv static final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static <T> List | |
| pack-priv static <T> Collection | |
| pack-priv static <K, V> Map | |
| pack-priv static String | |
| pack-priv static <T> List | |
| pack-priv static byte[] |
| CLINIT_METHOD_NAME | back to summary |
|---|---|
| pack-priv static final byte[] CLINIT_METHOD_NAME | |
| INIT_METHOD_NAME | back to summary |
|---|---|
| pack-priv static final byte[] INIT_METHOD_NAME | |
| Utils | back to summary |
|---|---|
| pack-priv Utils() | |
| emptyOrWrap | back to summary |
|---|---|
| pack-priv static <T> List | |
| emptyOrWrap | back to summary |
|---|---|
| pack-priv static <T> Collection | |
| emptyOrWrap | back to summary |
|---|---|
| pack-priv static <K, V> Map | |
| fromUTF8 | back to summary |
|---|---|
| pack-priv static String fromUTF8(byte[] bytes) | |
| listOfCapacity | back to summary |
|---|---|
| pack-priv static <T> List | |
| toUTF8 | back to summary |
|---|---|
| pack-priv static byte[] toUTF8(String string) | |
| Modifier and Type | Field and Description |
|---|---|
| private Utils. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public synchronized void | mark(int
the maximum limit of bytes that can be read before
the mark position becomes invalid. readlimit)Overrides java.
Deprecated
Marks the current position in this input stream.
|
| public boolean | markSupported()
Overrides java. mark
and reset methods.
|
| public synchronized void | reset()
Overrides java.
Deprecated
Repositions this stream to the position at the time the
mark method was last called on this input stream.
|
| pack-priv void |
| reusableBuffered | back to summary |
|---|---|
| private Utils. | |
| ReusableBufferedDataInputStream | back to summary |
|---|---|
| pack-priv ReusableBufferedDataInputStream() | |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| mark | back to summary |
|---|---|
| public synchronized void mark(int readlimit) Overrides java. Doc from java. Deprecated
Marks the current position in this input stream. A subsequent
call to the
The
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tests if this input stream supports the
| |
| reset | back to summary |
|---|---|
| public synchronized void reset() Overrides java. Doc from java. Deprecated
Repositions this stream to the position at the time the
Stream marks are intended to be used in situations where you need to read ahead a little to see what's in the stream. Often this is most easily done by invoking some general parser. If the stream is of the type handled by the parse, it just chugs along happily. If the stream is not of that type, the parser should toss an exception when it fails. If this happens within readlimit bytes, it allows the outer code to reset the stream and try another parser.
| |
| setInputStream | back to summary |
|---|---|
| pack-priv void setInputStream(InputStream in) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public synchronized void | mark(int
the maximum limit of bytes that can be read before
the mark position becomes invalid. readlimit)Overrides java.
Deprecated
See the general contract of the mark
method of InputStream.
|
| public boolean | markSupported()
Overrides java. mark
and reset methods.
|
| public synchronized void | reset()
Overrides java.
Deprecated
See the general contract of the reset
method of InputStream.
|
| pack-priv void |
| ReusableBufferedInputStream | back to summary |
|---|---|
| private ReusableBufferedInputStream() | |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream. Once the stream has been closed, further read(), available(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.
| |
| mark | back to summary |
|---|---|
| public synchronized void mark(int readlimit) Overrides java. Doc from java. Deprecated
See the general contract of the
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tests if this input stream supports the
| |
| reset | back to summary |
|---|---|
| public synchronized void reset() Overrides java. Doc from java. Deprecated
See the general contract of the
If
| |
| setInputStream | back to summary |
|---|---|
| pack-priv void setInputStream(InputStream in) | |