public class Tiff2Png implements Converter {
-
- @Override
- public String getCommand(final File inputFile, final File targetFile, final EncodingOptions options) {
- return "convert \"" + inputFile.getAbsolutePath() + "\" \""
- + targetFile.getAbsolutePath() + "\"";
- }
-
- @Override
- public String getSourceFileExtension() {
- return "png";
- }
-
- @Override
- public String getTargetFileExtension() {
- return "tiff";
- }
-
- @Override
- public boolean isTerminalMandatory() {
- return false;
- }
-
+ @Override
+ public String getCommand(final File inputFile, final File targetFile,
+ final EncodingOptions options) {
+ return "convert \"" + inputFile.getAbsolutePath() + "\" \""
+ + targetFile.getAbsolutePath() + "\"";
+ }
+
+ @Override
+ public String getSourceFileExtension() {
+ return "tiff";
+ }
+
+ @Override
+ public String getTargetFileExtension() {
+ return "png";
+ }
+
+ @Override
+ public boolean isTerminalMandatory() {
+ return false;
+ }
}