Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
Package |
Class.getPackage()
Gets the package for this class.
|
static Package |
Package.getPackage(String name)
Find a package by name in the callers
ClassLoader instance. |
static Package[] |
Package.getPackages()
Get all the packages currently known for the caller's
ClassLoader
instance. |