static void printLicenseFeatures(LicenseFeatureInfo[] fis) { for(int i=0; fis!=null && i<fis.length; i++) { String prtStr = "\nFeatureName:" + fis[i].getFeatureName() + "\nCostUnit:" + fis[i].getCostUnit() + "\nDependentKey:"; String[] dep = fis[i].getDependentKey(); for(int j=0; dep!=null && j<dep.length; j++) { prtStr += dep[j] + " "; } prtStr += "\nEdition:" + fis[i].getEdition() + "\nExpiresOn:" + fis[i].getExpiresOn() + "\nFeatureDescription:" + fis[i].getFeatureDescription() + "\nKey:" + fis[i].getKey() + "\nSourceRestriction:" + fis[i].getSourceRestriction() + "\nState:" + fis[i].getState(); System.out.println(prtStr); } }
/** * @deprecated in SDK4.0 */ @Deprecated LicenseFeatureInfo[] getFeatureInfo();
LicenseFeatureInfo[] querySupportedFeatures(HostSystem host) throws RuntimeFault, RemoteException;