code: public Set<InstallLicense> getServerFeatureLicense(File serverXML, boolean offlineOnly, Locale locale) throws InstallException, IOException {
          if (null != serverXML) {
              return getFeatureLicense(new ServerAsset(serverXML).getRequiredFeatures(), locale, null, null);
          }
  
          return new HashSet<InstallLicense>();
      }
docs: Gets the licenses for the specified server XML file
  
  @param serverXML The server XML file
  @param offlineOnly if features should be only retrieved locally
  @param locale Locale for the licenses
  @return Set of InstallLicenses for the features found in the server XML file
  @throws InstallException
  @throws IOException