public class FileObjectPutter extends java.lang.Object implements Ds3ClientHelpers.ObjectChannelBuilder
Constructor and Description |
---|
FileObjectPutter(java.nio.file.Path root)
Creates a new FileObjectPutter given a directory in the local file system.
|
Modifier and Type | Method and Description |
---|---|
java.nio.channels.SeekableByteChannel |
buildChannel(java.lang.String key)
Returns a channel for the given object key.
|
public FileObjectPutter(java.nio.file.Path root)
root
- The root
directory for all the files being transferred.public java.nio.channels.SeekableByteChannel buildChannel(java.lang.String key) throws java.io.IOException
Ds3ClientHelpers.ObjectChannelBuilder
buildChannel
in interface Ds3ClientHelpers.ObjectChannelBuilder
java.io.IOException