Java java.lang Package fields, constructors, methods, implement or subclass

Example usage for Java java.lang Package fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang Package.

The text is from its open source code.

Subclass

java.lang.Package has subclasses.
Click this link to see all its subclasses.

Constructor

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
AgetAnnotation(Class annotationClass)
Annotation[]getAnnotations()
ClassgetClass()
Returns the runtime class of this Object .
Annotation[]getDeclaredAnnotations()
StringgetImplementationTitle()
Return the title of this package.
StringgetImplementationVendor()
Returns the vendor that implemented this package, null is returned if it is not known.
StringgetImplementationVersion()
Return the version of this implementation.
StringgetName()
Return the name of this package.
PackagegetPackage(String name)
Finds a package by name in the caller's class loader and its ancestors.
Package[]getPackages()
Returns all of the Package s defined by the caller's class loader and its ancestors.
StringgetSpecificationTitle()
Return the title of the specification that this package implements.
StringgetSpecificationVendor()
Return the name of the organization, vendor, or company that owns and maintains the specification of the classes that implement this package.
StringgetSpecificationVersion()
Returns the version number of the specification that this package implements.
inthashCode()
Return the hash code computed from the package name.
booleanisAnnotationPresent(Class annotationClass)
booleanisCompatibleWith(String desired)
Compare this package's specification version with a desired version.
booleanisSealed()
Returns true if this package is sealed.
booleanisSealed(URL url)
Returns true if this package is sealed with respect to the specified code source url .
StringtoString()
Returns the string representation of this Package.