equal
deleted
inserted
replaced
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 |