Clean binary inspector

This commit is contained in:
vshcherb 2014-01-20 01:05:03 +01:00
parent a7a59e3f07
commit 35432e6080

View file

@ -55,12 +55,16 @@ public class BinaryInspector {
BinaryInspector in = new BinaryInspector(); BinaryInspector in = new BinaryInspector();
in.inspector(args); in.inspector(args);
// test cases show info // test cases show info
in.inspector(new String[]{ if(args.length == 1 && "test".equals(args[0])) {
in.inspector(new String[]{
//"-vpoi", //"-vpoi",
"-vmap", "-vmapobjects", // "-vmap", "-vmapobjects",
//"-vstreets", //"-vstreets",
//"-bbox=4,55,7,50", //"-bbox=4,55,7,50",
"/home/victor/projects/osmand/osm-gen/Map.obf"}); "/home/victor/projects/osmand/osm-gen/Map.obf"});
} else {
in.inspector(args);
}
} }
private void printToFile(String s) throws IOException { private void printToFile(String s) throws IOException {