use accessor methods for Encoding Options
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / EncodingOptions.java
index 6c666a1..9721cdc 100755 (executable)
@@ -21,19 +21,19 @@ public class EncodingOptions {
 
        // public Bitrate audioBitrate;
 
-       public boolean deinterlace = false;
+       private boolean deinterlace = false;
 
-       public boolean recursive;
+       private boolean recursive;
 
-       public boolean testOnly;
+       private boolean testOnly;
 
-       public boolean forPortablePlayer = false;
+       private boolean forPortablePlayer = false;
 
-       public File workingDirectory = new File(System.getProperty("user.dir"));
+       private File workingDirectory = new File(System.getProperty("user.dir"));
 
-       List<String> outputFormats = new ArrayList<String>();
+       private List<String> outputFormats = new ArrayList<String>();
 
-       List<String> inputPatterns = new ArrayList<String>();
+       private List<String> inputPatterns = new ArrayList<String>();
 
        public BitrateParameter.bitrate getAudioBitrate() {
                return audioBitrate;
@@ -51,4 +51,60 @@ public class EncodingOptions {
                this.videoBitrate = videoBitrate;
        }
 
+       public List<String> getInputPatterns() {
+               return inputPatterns;
+       }
+
+       public void setInputPatterns(List<String> inputPatterns) {
+               this.inputPatterns = inputPatterns;
+       }
+
+       public List<String> getOutputFormats() {
+               return outputFormats;
+       }
+
+       public void setOutputFormats(List<String> outputFormats) {
+               this.outputFormats = outputFormats;
+       }
+
+       public File getWorkingDirectory() {
+               return workingDirectory;
+       }
+
+       public void setWorkingDirectory(File workingDirectory) {
+               this.workingDirectory = workingDirectory;
+       }
+
+       public boolean isForPortablePlayer() {
+               return forPortablePlayer;
+       }
+
+       public void setForPortablePlayer(boolean forPortablePlayer) {
+               this.forPortablePlayer = forPortablePlayer;
+       }
+
+       public boolean isTestOnly() {
+               return testOnly;
+       }
+
+       public void setTestOnly(boolean testOnly) {
+               this.testOnly = testOnly;
+       }
+
+       public boolean isRecursive() {
+               return recursive;
+       }
+
+       public void setRecursive(boolean recursive) {
+               this.recursive = recursive;
+       }
+
+       public boolean isDeinterlace() {
+               return deinterlace;
+       }
+
+       public void setDeinterlace(boolean deinterlace) {
+               this.deinterlace = deinterlace;
+       }
+
 }