Get package Implementation Vendor in Java
Description
The following code shows how to get package Implementation Vendor.
Example
//from ww w. ja v a 2s . co m
public class Main {
public static void main(String args[]) {
Package[] pkgs = Package.getPackages();
for(int i=0; i < pkgs.length; i++)
System.out.println(
pkgs[i].getName() + " " +
pkgs[i].getImplementationVendor()
);
}
}
The code above generates the following result.