MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / ready

Method ready

vm/JavaAPI/src/java/io/StringReader.java:190–198  ·  view source on GitHub ↗

Indicates whether this reader is ready to be read without blocking. This implementation always returns true. @return always true. @throws IOException if this reader is closed. @see #read() @see #read(char[], int, int)

()

Source from the content-addressed store, hash-verified

188 * @see #read(char[], int, int)
189 */
190 @Override
191 public boolean ready() throws IOException {
192 synchronized (lock) {
193 if (isClosed()) {
194 throw new IOException("String reader already closed"); //$NON-NLS-1$
195 }
196 return true;
197 }
198 }
199
200 /**
201 * Resets this reader's position to the last {@code mark()} location.

Callers

nothing calls this directly

Calls 1

isClosedMethod · 0.95

Tested by

no test coverage detected