Class StringReader
java.lang.Object
java.io.Reader
com.codename1.util.regex.StringReader
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringReader
-
-
Method Details
-
read
public int read()Description copied from class:ReaderRead a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached. Subclasses that intend to support efficient single-character input should override this method. -
read
-
close
public void close()Description copied from class:ReaderClose the stream. Once a stream has been closed, further read(), ready(), mark(), or reset() invocations will throw an IOException. Closing a previously-closed stream, however, has no effect.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classReader
-
readLine
-
ready
-