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.)
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.)
相关文章推荐
- java list去重
- java框架之springmvc02(自定义配置文件位置)
- Java中HttpServletResponse响应中文出现乱码问题
- 31. Next Permutation (java 字典序生成下一个排列)
- Spring基础学习三 : 依赖注入
- Spring <context:annotation-config/> 存在的含义
- Spring jdbctemplate IN 的使用
- Java基础知识:异常
- 在Windows上面安装NDK,Eclipse上配置NDK
- Eclipse在线安装fatjar插件
- Ubuntu中配置Java环境变量时,出现command not found问题解决记录
- Java 类的热替换 —— 概念、设计与实现
- Eclipse中安装genymotion插件
- Spring MVC Captcha 验证码 (附Servlet实现方式)
- mysql/Java服务端对emoji的支持
- Spring事务管理
- JSON中,java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher问题解决
- 【java多线程系列】java中的volatile的内存语义
- 【java多线程系列】java中的volatile的内存语义
- SpringMVC架构