import java.io.*; public class DDEncoder { public static void main(String[] args) { try { File theFile = new File(args[args.length-1]); DecimalDump dd = new DecimalDump(); FileInputStream fis = new FileInputStream(theFile); dd.encodeBuffer(fis, System.out); } catch (ArrayIndexOutOfBoundsException e) { System.err.println("Usage: ddencode infile"); } catch (IOException e) { System.err.println("Usage: ddencode infile"); } } }