java.io.Closeable, java.lang.AutoCloseable, java.lang.Readablepublic class CharBufferReader
extends java.io.Reader
| Constructor | Description |
|---|---|
CharBufferReader(java.nio.CharBuffer buffer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
mark(int readAheadLimit) |
|
boolean |
markSupported() |
|
int |
read() |
|
int |
read(char[] cbuf,
int off,
int len) |
|
boolean |
ready() |
|
void |
reset() |
|
long |
skip(long n) |
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.Readerjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.Readerjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.Readerjava.io.IOExceptionpublic boolean ready()
throws java.io.IOException
ready in class java.io.Readerjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.Readerpublic void mark(int readAheadLimit)
throws java.io.IOException
mark in class java.io.Readerjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class java.io.Readerjava.io.IOException