All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.io.InputStream Maven / Gradle / Ivy

The newest version!
package java.io;

public abstract class InputStream {
    public InputStream() {}

    /**
     * @throws IOException
     */
    public int available() throws IOException {
        return 0;
    }

    /**
     * @throws IOException
     */
    public void close() throws IOException {}

    public void mark(int readlimit) {}

    public boolean markSupported() {
        return false;
    }

    /**
     * @throws IOException
     */
    public abstract int read() throws IOException;

    /**
     * @throws IOException
     * @throws NullPointerException
     */
    public int read(byte[] b) throws IOException {
        return 0;
    }

    /**
     * @throws IOException
     * @throws NullPointerException
     */
    public int read(byte[] b, int off, int len) throws IOException {
        return 0;
    }

    /**
     * @throws IOException
     */
    public void reset() throws IOException {}

    /**
     * @throws IOException
     */
    public long skip(long arg0) throws IOException {
        return 0;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy