Uses of Class
java.lang.Package
-
Uses of Package in java.lang
Methods in java.lang that return Package Modifier and Type Method Description protected PackageClassLoader. definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)Defines and returns a newPackageusing the specified information.PackageClass. getPackage()Returns thePackageof which the class represented by thisClassis a member.protected PackageClassLoader. getPackage(String name)Returns the package with the specified name.static PackagePackage. getPackage(String packageName)Attempts to locate the requested package in the caller's class loader.protected Package[]ClassLoader. getPackages()Returns all the packages known to this class loader.static Package[]Package. getPackages()Returns all the packages known to the caller's class loader. -
Uses of Package in java.net