public final static VersionInfo[] loadVersionInfo(String[] pckgs,ClassLoader clsldr){
  if (pckgs == null) {
    throw new IllegalArgumentException("Package identifier list must not be null.");
  }
  ArrayList vil=new ArrayList(pckgs.length);
  for (int i=0; i < pckgs.length; i++) {
    VersionInfo vi=loadVersionInfo(pckgs[i],clsldr);
    if (vi != null)     vil.add(vi);
  }
  return (VersionInfo[])vil.toArray(new VersionInfo[vil.size()]);
}

public final static VersionInfo [ ] loadVersionInfo ( String [ ] pckgs , ClassLoader clsldr ) { if ( pckgs == null ) { throw new IllegalArgumentException ( "Package identifier list must not be null." ) ; } ArrayList vil = new ArrayList ( pckgs . length ) ; for ( int i = 0 ; i < pckgs . length ; i ++ ) { VersionInfo vi = loadVersionInfo ( pckgs [ i ] , clsldr ) ; if ( vi != null ) vil . add ( vi ) ; } return ( VersionInfo [ ] ) vil . toArray ( new VersionInfo [ vil . size ( ) ] ) ; }
loads version information for a list of packages .
