public class FileByteBufferFactory extends java.lang.Object implements ByteBufferFactory
Modifier and Type | Field and Description |
---|---|
private java.io.File |
file |
Constructor and Description |
---|
FileByteBufferFactory(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
build(int length) |
java.lang.String |
toString() |
public java.nio.ByteBuffer build(int length) throws java.io.IOException
build
in interface ByteBufferFactory
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object