software/test/performance/src/org/LexGrid/LexBIG/example/ListHierarchyByCode.java
/**
	 * Entry point for processing.
	 * @param args
	 */
Entry point for processing.
@param args
Entry point for processing . @param args
public static void main(String[] args) {
		if (args.length < 1) {
			System.out.println(
				"Example: ListHierarchyByCode \"C0000\" 2");
			return;
		};
		try {
			String code = args[0];
			int distance = args.length == 1 ? DEFAULT_DISTANCE : Integer.parseInt(args[1]);
			new ListHierarchyByCode().run(code, distance);
		} catch (NumberFormatException nfe) {
			System.out.println(
				"Parameter 2 must indicate a number representing maximum distance to display.\n" +
				"Example: ListHierarchyByCode \"C0000\" 2");
			return;
		} catch (Exception e) {
			Util.displayAndLogError("REQUEST FAILED !!!", e);
		}
	}
public static void main ( String [ ] args ) { if ( args . length < 1 ) { System . out . println ( "Example: ListHierarchyByCode \"C0000\" 2" ) ; return ; } ; try { String code = args [ 0 ] ; int distance = args . length == 1 ? DEFAULT_DISTANCE : Integer . parseInt ( args [ 1 ] ) ; new ListHierarchyByCode ( ) . run ( code , distance ) ; } catch ( NumberFormatException nfe ) { System . out . println ( "Parameter 2 must indicate a number representing maximum distance to display.\n" + "Example: ListHierarchyByCode \"C0000\" 2" ) ; return ; } catch ( Exception e ) { Util . displayAndLogError ( "REQUEST FAILED !!!" , e ) ; } }
Entry point for processing.
Entry point for processing .