Java核心API列表

来源:互联网 发布:java计算程序运行时间 编辑:程序博客网 时间:2024/06/05 04:10
PackageDescriptionjava.awt.eventThe 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.geomThe Java 2D Shapes Package contains classes and interfaces for working with Java’s advanced two-dimensional graphics capabilities. (See Chapter 13, .)java.ioThe 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.langThe 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.netThe Java Networking Package contains classes and interfaces that enable programs to communicate via computer networks like the Internet. (See online Chapter 28, Networking.)java.securityThe Java Security Package contains classes and interfaces for enhancing application security.java.sqlThe JDBC Package contains classes and interfaces for working with databases. (See Chapter 24, Accessing Databases with JDBC.)java.utilThe 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.concurrentThe Java Concurrency Package contains utility classes and interfaces for implementing programs that can perform multiple tasks in parallel. (See Chapter 23, Concurrency.)javax.swingThe 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.eventThe 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.wsThe JAX-WS Package contains classes and interfaces for working with web services in Java. (See online Chapter 32, REST-Based Web Services.)javafx packagesJavaFX 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.timeThe 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.streamThese packages contain classes and interfaces for working with Java SE 8’s functional programming capabilities. (See Chapter 17, Java SE 8 Lambdas and Streams.)

0 0
原创粉丝点击