|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Package | |
---|---|
java.lang | Provides classes that are fundamental to the design of the Java programming language. |
java.net | Provides the classes for implementing networking applications. |
Uses of Package in java.lang |
---|
Methods in java.lang that return Package | |
---|---|
protected Package |
ClassLoader.definePackage(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
Defines a Package object for classes that are loaded through this ClassLoader. |
Package |
Class.getPackage()
Gets the object representing the package which contains this class. |
static Package |
Package.getPackage(String name)
Find a package by name in the callers ClassLoader instance. |
protected Package |
ClassLoader.getPackage(String name)
Get the Package object for the named package if it is defined in this ClassLoader or in one of its ancestors. |
static Package[] |
Package.getPackages()
Get all the packages currently known for the caller's ClassLoader
instance. |
protected Package[] |
ClassLoader.getPackages()
getPackages returns an array of all packages defined by this class loader and all of its ancestors. |
Uses of Package in java.net |
---|
Methods in java.net that return Package | |
---|---|
protected Package |
URLClassLoader.definePackage(String name,
Manifest man,
URL url)
Defines a new package by name in this ClassLoader. |
|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |