欢迎光临
免费的PDF电子书下载网站

Jakarta Commons经典实例(影印版) PDF下载

编辑推荐

暂无

内容简介

长期以来,Java一直承诺向开发人员提供可重用、模块化和可移植的特性。要实现上层的软件结构开发者可对已有的框架和组件进行扩展,或按需定制,而无需从最底层的细节开始。一个典型的例子就是万维网联盟(W3C)定义的DOM接口。应用程序开发人员很少会去编写一个自己的XML解析器,但他们常常编写自己的组件,而这些组件的功能在一些自由软件库中已经实现了,只是开发者们不知道这些开源组件的存在罢了。本书采用OReilly经典实例系列丛书中惯用的问题-求解模式概述了可供使用的软件库以解决上述问题。这里仅列出部分本书所涵盖的Commons项目和组件:
* 对核心Java语言的扩展,包括字符串和日期操作、字符串编码和参数验证
* 对XML的支持,从解析、文档生成到使用搜索引擎索引XML文档所需的XPath
* 模板化框架使你能够超越JSP的基本功能,不仅Web页面,甚至XML文件或者电子邮件都能够进行模板化
* 使用FTP、SMTP、POP、NNTP、特别是HTTP和WebDAV等功能所需的工具
* 使用Functor进行编程的新方法,包括使用predicate、closure、transformer和functor(替换控制结构,如for和while)

作者简介

暂无

Jakarta Commons经典实例(影印版) PDF下载

目录

Preface
1. Supplements to the Java 2 Platform
1.1 Obtaining Commons Lang
1.2 Joining the Commons-User Mailing List
1.3 Getting the Commons Lang Source Code
1.4 Automating the Generation of toString()Content
1.5 Customizing Generated toString()Content
1.6 Automating hashCode()and equals()
1.7 Automating compareTo()
1.8 Printing an Array
1.9 Cloning and Reversing Arrays
1.10 Transforming Between Object Arrays and Primitive Arrays
1.11 Finding Items in an Array
1.12 Creating a Map from a Multidimensional Array
1.13 Formatting Dates
1.14 Rounding Date Objects
1.15 Truncating Date Objects
1.16 Creating an Enum
1.17 Generating Unique Numeric Identifiers
1.18 Validation of Method Parameters
1.19 Measuring Time
2. Manipulating Text
2.1 Setting Up StringUtils and WordUtils
2.2 Checking for an Empty String
2.3 Abbreviating Strings
2.4 Splitting a String
2.5 Finding Nested Strings
2.6 Stripping and Trimming a String
2.7 Chomping a String
2.8 Creating an Emphasized Header
2.9 Reversing a String
2.10 Wrapping Words
2.11 Testing the Contents of a String
2.12 Measuring the Frequency of a String
2.13 Parsing Formatted Strings
2.14 Calculating String Difference
2.15 Using Commons Codec
2.16 Getting the Commons Codec Source Code
2.17 Calculating Soundex
3. JavaBeans
3.1 Representing Beans Graphically
3.2 Obtaining Commons BeanUtils
3.3 Getting the Commons BeanUtils Source Code
3.4 Accessing Simple Bean Properties
3.5 Accessing Nested Bean Properties
3.6 Accessing Indexed Bean Properties
3.7 Accessing Mapped Bean Properties
3.8 Accessing a Simple,Nested,Indexed,and Mapped Bean Property
3.9 Determining the Type of a Bean Property
3.10 Comparing Beans
3.11 Copying Bean Properties
3.12 Cloning a Bean
3.13 Setting a Bean Property
3.14 Testing Property Access
3.15 Validating Beans with Predicates
3.16 Creating a Map of Bean Properties
3.17 Wrapping a Bean with a Map
3.18 Creating a Dynamic Bean
3.19 Getting and Setting Properties as Strings
4. Functors
5. Collections
6. XML
7. Application Infrastructure
8. Math
9. Templating
10. I/O and Networking
11. HTTP and WebDAV
12. Searching and Filtering
Index

Jakarta Commons经典实例(影印版) pdf下载声明

本pdf资料下载仅供个人学习和研究使用,不能用于商业用途,请在下载后24小时内删除。如果喜欢,请购买正版

pdf下载地址

版权归出版社和作者所有,下载链接已删除。如果喜欢,请购买正版!

链接地址:Jakarta Commons经典实例(影印版)