--- old/Main.java 2009-05-13 19:58:40.813279100 +1000 +++ new/Main.java 2009-05-13 19:54:24.925279100 +1000 @@ -19,6 +19,7 @@ import java.io.File; import java.io.FileInputStream; +import java.io.FileOutputStream; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; @@ -107,10 +108,75 @@ /** * Extracts a jar file with the specified arguments */ - private static void extractJar(String[] args) { - System.out.println("Error: Jar extraction not yet implemented"); - } + private static void extractJar(String[] args) throws Exception { + boolean verboseFlag = false, fileFlag = false; + + // Check for expected and unexpected flags + for (int i=1; i