public class CloudFilesDataSegmentPuller extends Object implements DataSegmentPuller
| Constructor and Description |
|---|
CloudFilesDataSegmentPuller(org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi cloudFilesApi) |
| Modifier and Type | Method and Description |
|---|---|
void |
getSegmentFiles(DataSegment segment,
File outDir)
Pull down segment files for the given DataSegment and put them in the given directory.
|
FileUtils.FileCopyResult |
getSegmentFiles(String region,
String container,
String path,
File outDir) |
@Inject public CloudFilesDataSegmentPuller(org.jclouds.rackspace.cloudfiles.v1.CloudFilesApi cloudFilesApi)
public void getSegmentFiles(DataSegment segment, File outDir) throws SegmentLoadingException
DataSegmentPullergetSegmentFiles in interface DataSegmentPullersegment - The segment to pull down files foroutDir - The directory to store the files inSegmentLoadingException - if there are any errorspublic FileUtils.FileCopyResult getSegmentFiles(String region, String container, String path, File outDir) throws SegmentLoadingException
SegmentLoadingExceptionCopyright © 2011–2017. All rights reserved.