|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nothome.delta.text.CharBufferSeekableSource
public class CharBufferSeekableSource
Wrapper for a CharBuffer
.
Constructor Summary | |
---|---|
CharBufferSeekableSource(CharBuffer cb)
Constructs a new CharBufferSeekableSource. |
|
CharBufferSeekableSource(CharSequence seq)
Constructs a new CharBufferSeekableSource from a char sequence (String). |
Method Summary | |
---|---|
void |
close()
|
int |
read(CharBuffer charbuffer)
|
void |
seek(long pos)
Sets the position for the next read operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CharBufferSeekableSource(CharBuffer cb)
public CharBufferSeekableSource(CharSequence seq)
Method Detail |
---|
public void seek(long pos) throws IOException
SeekableSource
seek
in interface SeekableSource
IOException
public int read(CharBuffer charbuffer) throws IOException
read
in interface Readable
IOException
public void close() throws IOException
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |