software/test/performance/src/org/LexGrid/LexBIG/example/ListHierarchy.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) {
		try {
			int maxDepth = args.length < 1 ? DEFAULT_DEPTH : Integer.parseInt(args[0]);
			String hID = args.length < 2 ? null : args[1];
			maxDepth = 2; 
			new ListHierarchy().run(maxDepth, hID);
		} catch (NumberFormatException nfe) {
			System.out.println(
				"Parameter 1 must indicate a maximum depth of the hierarchy to display.\n" +
				"Example: ListHierarchy 3");
			return;
		} catch (Exception e) {
			Util.displayAndLogError("REQUEST FAILED !!!", e);
		}
	}
public static void main ( String [ ] args ) { try { int maxDepth = args . length < 1 ? DEFAULT_DEPTH : Integer . parseInt ( args [ 0 ] ) ; String hID = args . length < 2 ? null : args [ 1 ] ; maxDepth = 2 ; new ListHierarchy ( ) . run ( maxDepth , hID ) ; } catch ( NumberFormatException nfe ) { System . out . println ( "Parameter 1 must indicate a maximum depth of the hierarchy to display.\n" + "Example: ListHierarchy 3" ) ; return ; } catch ( Exception e ) { Util . displayAndLogError ( "REQUEST FAILED !!!" , e ) ; } }
Entry point for processing.
Entry point for processing .
//DYEE
