Java® 平台, 标准版 & JDK 21 API 文档
文档分为以下两部分:
Java SE
The Java Platform, Standard Edition (Java SE) APIs是Java平台核心API,具有平台通用性。这些api位于模块名以java开头的模块中。
JDK
The Java Development Kit (JDK) APIs 存在于JDK中,不一定在所有Java SE平台的实现中都可用。这些api位于模块名以jdk开头模块中。
所有模块
Java SE
JDK
其他模块
模块
描述
java.base
定义Java SE平台的基础api。
java.compiler
定义语言模型、注解处理和Java编译器的相关api。
java.datatransfer
定义用于在应用程序之间和内部传输数据的API。
java.desktop
定义AWT和Swing用户界面工具包,以及用于可访问性、音频、图像、打印和JavaBeans的api。
java.instrument
Defines services that allow agents to instrument programs running on the JVM.
java.logging
定义Java本身实现的日志框架的API.
java.management
Defines the Java Management Extensions (JMX) API.
java.management.rmi
定义JMX远程连接的api
java.naming
定义访问命名和目录服务(JNDI) API.
java.net.http
定义Http客户端和WebSocket的api
java.prefs
Defines the Preferences API.
java.rmi
定义RMI的api
java.scripting
定义脚本相关api
java.se
定义Java平台的API.
java.security.jgss
Defines the Java binding of the IETF Generic Security Services API (GSS-API).
java.security.sasl
Defines Java support for the IETF Simple Authentication and Security Layer (SASL).
java.smartcardio
Defines the Java Smart Card I/O API.
java.sql
定义JDBC的API.
java.sql.rowset
定义JDBC结果集的API.
java.transaction.xa
定义JDBC支持分布式事务的API.
java.xml
Defines the Java APIs for XML Processing (JAXP).
java.xml.crypto
Defines the API for XML cryptography.
jdk.accessibility
Defines JDK utility classes used by implementors of Assistive Technologies.
jdk.attach
Defines the attach API.
jdk.charsets
额外提供在java.base(里面大多数是两个字节和IBM字符集)没有的
字符集
jdk.compiler
Defines the implementation of the
system
Java compiler
and its command line equivalent, javac.
jdk.crypto.cryptoki
Provides the implementation of the SunPKCS11 security provider.
jdk.crypto.ec
Provides the implementation of the SunEC security provider.
jdk.dynalink
Defines the API for dynamic linking of high-level operations on
objects.
jdk.editpad
Provides the implementation of the edit pad service used by jdk.jshell.
jdk.hotspot.agent
Defines the implementation of the HotSpot Serviceability Agent.
jdk.httpserver
Defines the JDK-specific HTTP server API, and provides the jwebserver
tool for running a minimal HTTP server.
jdk.incubator.vector
Defines an API for expressing computations that can be reliably compiled
at runtime into SIMD instructions, such as AVX instructions on x64, and
NEON instructions on AArch64.
jdk.jartool
Defines tools for manipulating Java Archive (JAR) files,
including the jar and jarsigner tools.
jdk.javadoc
Defines the implementation of the
system
documentation tool
and its command-line equivalent, javadoc.
jdk.jcmd
Defines tools for diagnostics and troubleshooting a JVM
such as the jcmd, jps, jstat tools.
jdk.jconsole
Defines the JMX graphical tool, jconsole,
for monitoring and managing a running application.
jdk.jdeps
Defines tools for analysing dependencies in Java libraries and programs,
including the jdeps,
javap, and
jdeprscan tools.
jdk.jdi
Defines the Java Debug Interface.
jdk.jdwp.agent
Provides the implementation of the Java Debug Wire Protocol (JDWP)
agent.
jdk.jfr
Defines the API for JDK Flight Recorder.
jdk.jlink
Defines the jlink tool for creating run-time
images, the jmod tool for creating and manipulating
JMOD files, and the jimage tool for inspecting
the JDK implementation-specific container file for classes and resources.
jdk.jpackage
Defines the Java Packaging tool, jpackage.
jdk.jshell
Provides the jshell tool for evaluating
snippets of Java code, and defines a JDK-specific API for modeling and
executing snippets.
jdk.jsobject
Defines the API for the JavaScript Object.
jdk.jstatd
Defines the jstatd tool for starting a daemon
for the jstat tool to monitor JVM statistics remotely.
jdk.localedata
Provides the locale data for locales other than US locale.
jdk.management
Defines JDK-specific management interfaces for the JVM.
jdk.management.agent
Defines the JMX management agent.
jdk.management.jfr
Defines the Management Interface for JDK Flight Recorder.
jdk.naming.dns
Provides the implementation of the DNS Java Naming provider.
jdk.naming.rmi
Provides the implementation of the RMI Java Naming provider.
jdk.net
Defines the JDK-specific Networking API.
jdk.nio.mapmode
Defines JDK-specific file mapping modes.
jdk.sctp
Defines the JDK-specific API for SCTP.
jdk.security.auth
Provides implementations of the javax.security.auth.*
interfaces and various authentication modules.
jdk.security.jgss
Defines JDK extensions to the GSS-API and an implementation of the SASL
GSSAPI mechanism.
jdk.xml.dom
定义了W3C Document Object Model(DOM)相关API.
jdk.zipfs
提供Zip文件系统功能的实现。