com.ebmwebsourcing.easycommons.io
Class ByteChannelDumpHelper
java.lang.Object
com.ebmwebsourcing.easycommons.io.ByteChannelDumpHelper
public final class ByteChannelDumpHelper
- extends Object
- Author:
- Marc Jambert - EBM WebSourcing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createDumpFileChannel
public static final FileChannel createDumpFileChannel(File dumpFile)
dumpAndRead
public static final int dumpAndRead(ReadableByteChannel channelToDump,
ByteBuffer readBuffer,
FileChannel dumpChannel)
throws IOException
- Throws:
IOException
dumpAndWrite
public static final int dumpAndWrite(WritableByteChannel channelToDump,
ByteBuffer writeBuffer,
FileChannel dumpChannel)
throws IOException
- Throws:
IOException
Copyright © 2013 Petals Link. All rights reserved.