com.liferay.portal.kernel.io.delta
Class ByteChannelWriter
java.lang.Object
com.liferay.portal.kernel.io.delta.ByteChannelWriter
public class ByteChannelWriter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteChannelWriter
public ByteChannelWriter(WritableByteChannel writableByteChannel)
ByteChannelWriter
public ByteChannelWriter(WritableByteChannel writableByteChannel,
int bufferLength)
ensureSpace
public void ensureSpace(int length)
throws IOException
- Throws:
IOException
finish
public void finish()
throws IOException
- Throws:
IOException
getBuffer
public ByteBuffer getBuffer()
resizeBuffer
public void resizeBuffer(int minBufferLength)
write
protected void write()
throws IOException
- Throws:
IOException