d39cf795bcc7a8cd6076ce23c3072bd4fdd4682d
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / converters / Converter.java
1 /*
2  * Meviz - Various tools collection to work with multimedia.
3  * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
4  * 
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of version 2 of the GNU General Public License
7  * as published by the Free Software Foundation.
8  */
9
10 package eu.svjatoslav.meviz.encoder.converters;
11
12 import java.io.File;
13
14 import eu.svjatoslav.meviz.encoder.EncodingOptions;
15
16 public interface Converter {
17
18     public String getCommand(File inputFile, File targetFile, EncodingOptions options);
19
20     public String getSourceFileExtension();
21
22     public String getTargetFileExtension();
23
24     /**
25      * For some reasons some encoders require terminal to run. Until this is
26      * resolved, encoder can request for terminal using this method.
27      */
28     public boolean isTerminalMandatory();
29 }