|
GXPARSE hosted by | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer ca.gorman.io.Resequencer.SpillBuffer
public abstract static class Resequencer.SpillBuffer
Overflow buffer for Buffer
, when the amount
of data exceeds the capacity of the fast buffer used by
Buffer
.
Field Summary |
---|
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
protected |
Resequencer.SpillBuffer()
|
Method Summary | |
---|---|
abstract void |
close()
Close this SpillBuffer and make it ready to
provide a reader . |
void |
flush()
Unsupported operation. |
abstract Reader |
getReader()
Get a Reader for the data held in the
SpillBuffer at the time this method was invoked. |
static Resequencer.SpillBuffer |
newInstance()
Create a default SpillBuffer . |
static Resequencer.SpillBuffer |
newInstance(File file)
Create a SpillBuffer in a File . |
Methods inherited from class java.io.Writer |
---|
append, append, append, write, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Resequencer.SpillBuffer()
Method Detail |
---|
public static Resequencer.SpillBuffer newInstance() throws IOException
Create a default SpillBuffer
.
IOException
public static Resequencer.SpillBuffer newInstance(File file) throws IOException
Create a SpillBuffer
in a File
. The
File
will be opened for writing, closed, opened for
reading, and closed again.
IOException
public abstract void close() throws IOException
Close this SpillBuffer
and make it ready to
provide a reader
.
close
in interface Closeable
close
in class Writer
IOException
public void flush() throws IOException
Unsupported operation.
flush
in interface Flushable
flush
in class Writer
IOException
public abstract Reader getReader() throws IOException
Get a Reader
for the data held in the
SpillBuffer
at the time this method was invoked.
IllegalStateException
- if this Spillbuffer
is
not closed.
IOException
|
GXPARSE download | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |