← 返回首页
StringReader (Java SE 26 & JDK 26)
JavaScript is disabled on your browser.
Contents  
  1. Description
  2. Field Summary
  3. Constructor Summary
  4. Method Summary
  5. Constructor Details
    1. StringReader(String)
  6. Method Details
    1. read()
    2. read(char[], int, int)
    3. skip(long)
    4. ready()
    5. markSupported()
    6. mark(int)
    7. reset()
    8. close()
Hide sidebar  Show sidebar

Class StringReader

java.lang.Object
java.io.Reader
java.io.StringReader
All Implemented Interfaces: Closeable, AutoCloseable, Readable
public class StringReader extends Reader
A character stream whose source is a string.
API Note: Reader.of(CharSequence) provides a method to read from any CharSequence that may be more efficient than StringReader. Since: 1.1

Scripting on this page tracks web page traffic, but does not change the content in any way.