public abstract class UnsynchronizedReader
extends java.io.Reader
Reader without any of the superclass' synchronization.| Constructor and Description |
|---|
UnsynchronizedReader()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed()
Tests whether this instance is closed; if
close() completed successfully. |
void |
setClosed(boolean closed)
Sets whether this instance is closed.
|
long |
skip(long n)
Skips characters by reading from this instance.
|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.Readerjava.io.IOExceptionpublic boolean isClosed()
close() completed successfully.public void setClosed(boolean closed)
closed - whether this instance is closed.public long skip(long n)
throws java.io.IOException
skip in class java.io.Readern - The number of characters to skip.java.lang.IllegalArgumentException - If n is negative.java.io.IOException - If an I/O error occurs.Copyright © 2010 - 2025 Adobe. All Rights Reserved