public class DdTapeLibraryService extends Object implements TapeReadWriteService
| Constructor and Description |
|---|
DdTapeLibraryService(TapeDriveConf tapeDriveConf,
ProcessExecutor processExecutor,
String inputDirectory,
String outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
ProcessExecutor |
getExecutor() |
String |
getInputDirectory() |
String |
getOutputDirectory() |
TapeResponse |
readFromTape(String outputPath) |
TapeResponse |
writeToTape(String inputPath) |
public static final String IF
public static final String OF
public DdTapeLibraryService(TapeDriveConf tapeDriveConf, ProcessExecutor processExecutor, String inputDirectory, String outputDirectory)
public TapeResponse writeToTape(String inputPath)
writeToTape in interface TapeReadWriteServiceinputPath - mini-path to file from workingDirpublic TapeResponse readFromTape(String outputPath)
readFromTape in interface TapeReadWriteServiceoutputPath - in case dd implementation, outputPath is mini-path to file from workingDir. In case of tar implmentation, outputPath is the file inside tar to extracpublic ProcessExecutor getExecutor()
getExecutor in interface TapeReadWriteServicepublic String getOutputDirectory()
getOutputDirectory in interface TapeReadWriteServicepublic String getInputDirectory()
getInputDirectory in interface TapeReadWriteServiceCopyright © 2019 Vitam. All rights reserved.