Java java.io InputStream fields, constructors, methods, implement or subclass

Example usage for Java java.io InputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io InputStream.

The text is from its open source code.

Subclass

java.io.InputStream has subclasses.
Click this link to see all its subclasses.

Constructor

Method

intavailable()
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.
voidclose()
Closes this input stream and releases any system resources associated with the stream.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
voidmark(int readlimit)
Marks the current position in this input stream.
booleanmarkSupported()
Tests if this input stream supports the mark and reset methods.
intread()
Reads the next byte of data from the input stream.
intread(byte b[])
Reads some number of bytes from the input stream and stores them into the buffer array b.
intread(byte b[], int off, int len)
Reads up to len bytes of data from the input stream into an array of bytes.
voidreset()
Repositions this stream to the position at the time the mark method was last called on this input stream.
longskip(long n)
Skips over and discards n bytes of data from this input stream.
StringtoString()
Returns a string representation of the object.
voidwait()
Causes the current thread to wait until it is awakened, typically by being notified or interrupted.