// Use the querySupportedFeatures as follows.
System.out.println("\nLicense Features:");
printLicenseFeatures(lm.querySupportedFeatures(null));
System.out.println("\nLicense Usage:");
printLicenseUsage(lm.queryLicenseUsage(null));
System.out.println("\nLicense source availability:");
printLicenseAvailable(
lm.queryLicenseSourceAvailability(null));