public abstract class CharBuffer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
buffer |
protected int |
bufferSize |
protected int |
mark |
| Constructor and Description |
|---|
CharBuffer(char[] buffer,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
fillBuffer() |
int |
getBufferSize() |
char[] |
getCharBuffer() |
int |
getMark() |
void |
mark(int index) |
abstract int |
shiftBufferToMark() |
protected char[] buffer
protected int bufferSize
protected int mark
public abstract int fillBuffer()
throws IOException
IOExceptionpublic abstract int shiftBufferToMark()
throws BufferOverflowException
BufferOverflowExceptionpublic final void mark(int index)
public final int getMark()
public final char[] getCharBuffer()
public final int getBufferSize()
Copyright © 2016. All rights reserved.