src/java.base/share/classes/java/io/StringBufferInputStream.java
changeset 59201 b24f4caa1411
parent 58288 48e480e56aad
equal deleted inserted replaced
59200:a686b67a59d9 59201:b24f4caa1411
    41  * @deprecated This class does not properly convert characters into bytes.  As
    41  * @deprecated This class does not properly convert characters into bytes.  As
    42  *             of JDK 1.1, the preferred way to create a stream from a
    42  *             of JDK 1.1, the preferred way to create a stream from a
    43  *             string is via the {@code StringReader} class.
    43  *             string is via the {@code StringReader} class.
    44  */
    44  */
    45 @Deprecated
    45 @Deprecated
    46 public
    46 public class StringBufferInputStream extends InputStream {
    47 class StringBufferInputStream extends InputStream {
       
    48     /**
    47     /**
    49      * The string from which bytes are read.
    48      * The string from which bytes are read.
    50      */
    49      */
    51     protected String buffer;
    50     protected String buffer;
    52 
    51