您的位置:首页 > 编程语言 > Java开发

Java核心API列表

2016-06-27 14:06 423 查看
Package

Description

java.awt.event

The Java Abstract Window Toolkit Event Package contains classes and interfaces that enable event handling for GUI components in both the java.awt and javax.swing packages. (See Chapter 12, GUI Components:

Part 1, and Chapter 22, GUI Components: Part 2.)

java.awt.geom

The Java 2D Shapes Package contains classes and interfaces for working with Java’s advanced two-dimensional graphics capabilities. (See Chapter 13, .)

java.io

The Java Input/Output Package contains classes and interfaces that enable programs to input and output data. (See Chapter 15, Files, Streams and Object Serialization.)

java.lang

The Java Language Package contains classes and interfaces (discussed throughout the book) that are required by many Java programs. This package is imported by the compiler into all programs.

java.net

The Java Networking Package contains classes and interfaces that enable programs to communicate via computer networks like the Internet. (See online Chapter 28, Networking.)

java.security

The Java Security Package contains classes and interfaces for enhancing application security.

java.sql

The JDBC Package contains classes and interfaces for working with databases. (See Chapter 24, Accessing Databases with JDBC.)

java.util

The Java Utilities Package contains utility classes and interfaces that enable storing and processing of large amounts of data. Many of these classes and interfaces have been updated to support Java SE 8’s new

lambda capabilities. (See Chapter 16, Generic Collections.)

java.util.concurrent

The Java Concurrency Package contains utility classes and interfaces for implementing programs that can perform multiple tasks in parallel. (See Chapter 23, Concurrency.)

javax.swing

The Java Swing GUI Components Package contains classes and interfaces for Java’s Swing GUI components that provide support for portable GUIs. This package still uses some elements of the older java.awt

package. (See Chapter 12, GUI Components: Part 1, and Chapter 22, GUI Components: Part 2.)

javax.swing.event

The Java Swing Event Package contains classes and interfaces that enable event handling (e.g., responding to button clicks) for GUI components in package javax.swing. (See Chapter 12, GUI Components:

Part 1, and Chapter 22, GUI Components: Part 2.)

javax.xml.ws

The JAX-WS Package contains classes and interfaces for working with web services in Java. (See online Chapter 32, REST-Based Web Services.)

javafx packages

JavaFX is the preferred GUI technology for the future. We discuss these packages in Chapter 25, JavaFX GUI: Part 1 and in the online JavaFX GUI and multimedia chapters.

java.time

The new Java SE 8 Date/Time API Package contains classes and interfaces for working with dates and times. These features are designed to replace the older date and time capabilities of package java.util. (See

Chapter 23, Concurrency.)

java.util.function and

java.util.stream

These packages contain classes and interfaces for working with Java SE 8’s functional programming capabilities. (See Chapter 17, Java SE 8 Lambdas and Streams.)


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: