public boolean compile(String[] args){
  long startTime=System.currentTimeMillis();
  long batchID;
synchronized (batchCountLock) {
    batchID=batchCount++;
  }
  Batch batch=parseArgs(args);
  if (batch == null) {
    return false;
  }
  boolean status;
  try {
    batchTable.put(batchID,batch);
    status=invokeJavadoc(batch,batchID);
  }
  finally {
    batchTable.remove(batchID);
  }
  if (batch.verbose) {
    long deltaTime=System.currentTimeMillis() - startTime;
    output(Resources.getText("rmic.done_in",Long.toString(deltaTime)));
  }
  return status;
}

public boolean compile ( String [ ] args ) { long startTime = System . currentTimeMillis ( ) ; long batchID ; synchronized ( batchCountLock ) { batchID = batchCount ++ ; } Batch batch = parseArgs ( args ) ; if ( batch == null ) { return false ; } boolean status ; try { batchTable . put ( batchID , batch ) ; status = invokeJavadoc ( batch , batchID ) ; } finally { batchTable . remove ( batchID ) ; } if ( batch . verbose ) { long deltaTime = System . currentTimeMillis ( ) - startTime ; output ( Resources . getText ( "rmic.done_in" , Long . toString ( deltaTime ) ) ) ; } return status ; }
compiles a batch of input classes , as given by the specified command line arguments . protocol - specific generators are determined by the choice options on the command line . returns true if successful , or false if an error occurred . note : this method is retained for transitional consistency with previous implementations .
