Example usage for Java java.io InputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
int | available() Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking, which may be 0, or 0 when end of stream is detected. |
void | close() Closes this input stream and releases any system resources associated with the stream. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code value for the object. |
void | mark(int readlimit) Marks the current position in this input stream. |
boolean | markSupported() Tests if this input stream supports the mark and reset methods. |
int | read() Reads the next byte of data from the input stream. |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |
int | read(byte b[], int off, int len) Reads up to len bytes of data from the input stream into an array of bytes. |
void | reset() Repositions this stream to the position at the time the mark method was last called on this input stream. |
long | skip(long n) Skips over and discards n bytes of data from this input stream. |
String | toString() Returns a string representation of the object. |
void | wait() Causes the current thread to wait until it is awakened, typically by being notified or interrupted. |