站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.lang.Package - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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.
static Package[] Package.getPackages()
          Get all the packages currently known for the caller's class loader.
 

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.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.