updated commandline handler
[meviz.git] / src / main / java / eu / svjatoslav / meviz / encoder / Bitrate.java
diff --git a/src/main/java/eu/svjatoslav/meviz/encoder/Bitrate.java b/src/main/java/eu/svjatoslav/meviz/encoder/Bitrate.java
deleted file mode 100755 (executable)
index fb1481d..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, 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.
- */
-
-package eu.svjatoslav.meviz.encoder;
-
-import eu.svjatoslav.commons.commandline.parameterparser.Argument;
-
-public class Bitrate implements Argument {
-    @Override
-    public String describeFormat() {
-        return "Target bitrate [LOW / MEDIUM / HIGH]";
-    }
-
-    @Override
-    public boolean validate(final String value) {
-        try {
-            bitrate.valueOf(value);
-        } catch (final IllegalArgumentException exception) {
-            return false;
-        }
-
-        return true;
-    }
-
-    static public enum bitrate {
-        LOW, MEDIUM, HIGH
-    };
-
-}