All Implemented Interfaces:
Closeable, AutoCloseable

  • Field Summary

    Fields

    Deprecated.

    The string from which bytes are read.

    protected int

    Deprecated.

    The number of valid characters in the input stream buffer.

    protected int

    Deprecated.

    The index of the next character to read from the input stream buffer.

  • Constructor Summary

    Constructors

    Deprecated.

    Creates a string input stream to read data from the specified string.

  • Method Summary

    int

    available()

    Deprecated.

    Returns the number of bytes that can be read from the input stream without blocking.

    int

    read()

    Deprecated.

    Reads the next byte of data from this input stream.

    int

    read(byte[] b, int off, int len)

    Deprecated.

    Reads up to len bytes of data from this input stream into an array of bytes.

    void

    reset()

    Deprecated.

    Resets the input stream to begin reading from the first character of this input stream's underlying buffer.

    long

    skip(long n)

    Deprecated.

    Skips n bytes of input from this input stream.

  • Field Details

    • buffer

    • pos

    • count

  • Constructor Details

    • StringBufferInputStream

  • Method Details

    • read

    • read

    • skip

    • available

    • reset