{
optionalArgs = stripCustomClassName( optionalArgs );
}
if ( register ) { tool.loadTool( optionalArgs ); }
else { tool.unloadTool( optionalArgs ); }
}
catch (StandardException se) { throw PublicAPI.wrapStandardException( se ); }
}
/** Lookup the class name corresponding to the name of an optional tool */
private static String findToolClassName( String toolName, String... optionalArgs ) throws StandardException