Package org.aksw.commons.io.util
Class PathTransfer
java.lang.Object
org.aksw.commons.io.util.PathTransfer
Helper class for use with
FileChannel.transferFrom(java.nio.channels.ReadableByteChannel, long, long)
Maps length bytes of the given path to some target with the given offset.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
path
-
length
protected long length -
targetOffset
protected long targetOffset
-
-
Constructor Details
-
PathTransfer
-
-
Method Details
-
getPath
-
getTargetOffset
public long getTargetOffset() -
getLength
public long getLength()
-