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