Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Class
java.lang.Package

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 by name in this ClassLoader.
protected  Package ClassLoader.getPackage(String name)
          Returns a Package that has been defined by this class loader or any of its ancestors.
protected  Package[] ClassLoader.getPackages()
          Returns all of the Packages defined by this class loader and its ancestors.
 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.
 

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.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.