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 TapeReadWriteService
inputPath
- mini-path to file from workingDirpublic TapeResponse readFromTape(String outputPath)
readFromTape
in interface TapeReadWriteService
outputPath
- 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 TapeReadWriteService
public String getOutputDirectory()
getOutputDirectory
in interface TapeReadWriteService
public String getInputDirectory()
getInputDirectory
in interface TapeReadWriteService
Copyright © 2019 Vitam. All rights reserved.