X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fmeviz%2Fencoder%2Fconverters%2FFlac.java;h=04fa9986db16a29a1f91b18ee2120317840bdaa8;hb=567410640f4e0428caf9de9fc83df4c73f0e5067;hp=bf239cc259ccdc74a64911e96419eb03ae8e0003;hpb=0679806fed21137dc0d10f1ef99dc1bba73ddb95;p=meviz.git diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/converters/Flac.java b/src/main/java/eu/svjatoslav/meviz/encoder/converters/Flac.java index bf239cc..04fa998 100644 --- a/src/main/java/eu/svjatoslav/meviz/encoder/converters/Flac.java +++ b/src/main/java/eu/svjatoslav/meviz/encoder/converters/Flac.java @@ -1,42 +1,42 @@ /* * Meviz - Various tools collection to work with multimedia. - * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu + * Copyright (C) 2012 -- 2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu * * This program is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public License - * as published by the Free Software Foundation. - */ + * modify it under the terms of version 3 of the GNU Lesser General Public License + * or later as published by the Free Software Foundation. +*/ package eu.svjatoslav.meviz.encoder.converters; +import eu.svjatoslav.meviz.encoder.EncodingOptions; + import java.io.File; import java.util.List; -import eu.svjatoslav.meviz.encoder.EncodingOptions; - public class Flac extends AbstractConverter { - @Override - public String getCommand(final File inputFile, final File targetFile, - final EncodingOptions options, String targetFormat) { + @Override + public String getCommand(final File inputFile, final File targetFile, + final EncodingOptions options, String targetFormat) { - return "flac -8 \"" + inputFile.getAbsolutePath() + "\" -o \"" - + targetFile.getAbsolutePath() + "\""; - } + return "flac -8 \"" + inputFile.getAbsolutePath() + "\" -o \"" + + targetFile.getAbsolutePath() + "\""; + } - @Override - public List getSourceFileExtensions() { - return toList("wav"); - } + @Override + public List getSourceFileExtensions() { + return toList("wav"); + } - @Override - public List getTargetFileExtensions() { - return toList("flac"); - } + @Override + public List getTargetFileExtensions() { + return toList("flac"); + } - @Override - public boolean isTerminalMandatory() { - return false; - } + @Override + public boolean isTerminalMandatory() { + return false; + } }