/*
* 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;
public abstract String getCommand(File inputFile, File targetFile,
EncodingOptions options, String targetFormat);
- public abstract List<String> getSourceFileExtensions();
+ protected abstract List<String> getSourceFileExtensions();
- public abstract List<String> getTargetFileExtensions();
+ protected abstract List<String> getTargetFileExtensions();
/**
* For some reasons some encoders require terminal to run. Until this is
return getTargetFileExtensions().contains(format);
}
- public List<String> toList(final String... strings) {
- final ArrayList<String> result = new ArrayList<String>();
+ List<String> toList(final String... strings) {
+ final ArrayList<String> result = new ArrayList<>();
Collections.addAll(result, strings);