|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.h2gis.drivers.utility.WriteBufferManager
public final class WriteBufferManager
Class to write files using nio.
| Constructor Summary | |
|---|---|
WriteBufferManager(FileChannel channel)
Creates a new WriteBufferManager that writes to the specified file channel |
|
| Method Summary | |
|---|---|
void |
flush()
flushes the cached contents into the channel. |
void |
order(ByteOrder order)
Specifies the byte order. |
void |
put(byte b)
Puts the specified byte at the current position |
void |
put(byte[] bs)
Puts the specified bytes at the current position |
void |
putDouble(double d)
Puts the specified double at the current position |
void |
putInt(int value)
Puts the specified int at the current position |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteBufferManager(FileChannel channel)
throws IOException
channel -
IOException| Method Detail |
|---|
public void put(byte b)
throws IOException
b -
IOException
public void put(byte[] bs)
throws IOException
bs -
IOException
public void flush()
throws IOException
IOExceptionpublic void order(ByteOrder order)
ByteBuffer
order -
public void putInt(int value)
throws IOException
value -
IOException
public void putDouble(double d)
throws IOException
d -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||