protected ResourceLoaderLicenseLocator(final Charset charset,final String... licenseFiles){
  if (licenseFiles == null || licenseFiles.length == 0) {
    throw new IllegalArgumentException("No license files specified");
  }
  if (charset == null) {
    throw new NullPointerException("Charset is null");
  }
  this.licenseFiles=new ArrayList<String>(Arrays.asList(licenseFiles));
  this.charset=charset;
}

protected ResourceLoaderLicenseLocator ( final Charset charset , final String ... licenseFiles ) { if ( licenseFiles == null || licenseFiles . length == 0 ) { throw new IllegalArgumentException ( "No license files specified" ) ; } if ( charset == null ) { throw new NullPointerException ( "Charset is null" ) ; } this . licenseFiles = new ArrayList < String > ( Arrays . asList ( licenseFiles ) ) ; this . charset = charset ; }
constructs the license locator with the given license file names . each file name given must exist on the system classpath .
