use of vazkii.symphony.lib.javazoom.jl.decoder.JavaLayerException in project Symphony by Vazkii.
the class jlc method main.
public static void main(String[] args) {
String[] argv;
long start = System.currentTimeMillis();
int argc = args.length + 1;
argv = new String[argc];
argv[0] = "jlc";
for (int i = 0; i < args.length; i++) argv[i + 1] = args[i];
jlcArgs ma = new jlcArgs();
if (!ma.processArgs(argv))
System.exit(1);
Converter conv = new Converter();
int detail = (ma.verbose_mode ? ma.verbose_level : Converter.PrintWriterProgressListener.NO_DETAIL);
Converter.ProgressListener listener = new Converter.PrintWriterProgressListener(new PrintWriter(System.out, true), detail);
try {
conv.convert(ma.filename, ma.output_filename, listener);
} catch (JavaLayerException ex) {
System.err.println("Convertion failure: " + ex);
}
System.exit(0);
}
Aggregations