版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、【java基础】java开发过程中的常用工具类库【java基础】java开发过程中的常用工具类库java开发过程中的常用工具类库apache commons类库apache?commons是一个十分实用的工具包,为解决各种实际的问题提供了通用现成的代码,不需要我们程序员再重复造轮子。关于这个类库的具体介绍可以拜访官网介绍。下面表格列出了部分的工具包。我们平常开发过程中可以按照自己的需要选择合适的工具包。componentsdescriptionlatest versionreleasedbcelbyte code engineering library - analyze, create, a
2、nd manipulate java class files6.3.12019/3/24beanutilseasy-to-use wrappers around the java reflection and introspection apis.1.9.32016/9/26bsfbean scripting framework - interface to scripting languages, including jsr-2233.12010/6/24chainchain of responsibility pattern implemention.1.22008/6/2clicomma
3、nd line arguments parser.1.42017/3/9codecgeneral encoding/decoding algorithms (for example phonetic, base64, url).1.122019/2/16collectionsextends or augments the java collections framework.4.32019/2/5compressdefines an api for working with tar, zip and bzip2 files.1.182018/8/16configurationreading o
4、f configuration/preferences files in various formats.2.42018/10/29cryptoa cryptographic library optimized with aes-ni wrapping openssl or jce algorithm implementations.1.0.02016/7/22csvcomponent for reading and writing comma separated value files.1.62018/9/25daemonalternative invocation mechanism fo
5、r unix-daemon-like java code.1.0.152013/4/3dbcpdatabase connection pooling services.2.6.02019/2/19dbutilsjdbc helper library.1.72017/7/20digesterxml-to-java-object mapping utility.3.22011/12/13emaillibrary for sending e-mail from java.1.52017/8/1execapi for dealing with external process execution an
6、d environment management in java.1.32014/11/6fileuploadfile upload capability for your servlets and web applications.1.42019/1/16functora functor is a function that can be manipulated as an object, or an object representing a single, generic function.12011-?-?geometryspace and coordinates.12018-?-?i
7、maging (previously called sanselan)a pure-java image library.0.97-incubator2009/2/20iocollection of i/o utilities.2.62017/10/15jcijava compiler interface1.12013/10/14jcsjava caching system2.2,12018/8/23jellyxml based scripting and processing engine.1.0.12017/9/27jexlexpression language which extends
8、 the expression language of the jstl.3.12017/4/14jxpathutilities for manipulating java beans using the xpath syntax.1.32008/8/14langprovides extra functionality for classes in java.lang.3.92019/4/15loggingwrapper around a variety of logging api implementations.1.22014/7/11mathlightweight, self-conta
9、ined mathematics and statistics components.3.52015/4/17netcollection of network utilities and protocol implementations.3.62017/2/15numbersnumber types (complex, quaternion, fraction) and utilities (arrays, combinatorics).12017-?-?ognlan object-graph navigation language42013-?-?poolgeneric object poo
10、ling component.2.6.22019/4/11proxylibrary for creating dynamic proxies.12008/2/28rdfcommon implementation of rdf 1.1 that could be implemented by systems on the jvm.0.3.0-incubating2016/11/15rngimplementations of random numbers generators.1.22018/12/12scxmlan implementation of the state chart xml sp
11、ecification aimed at creating and maintaining a java scxml engine.it is capable of executing a state machine defined using a scxml document, and abstracts out the environment interfaces.0.92008/12/1statisticsstatistics.0.1?-?-?textapache commons text is a library focused on algorithms working on str
12、ings.1.62018/10/16validatorframework to define validators and validation rules in an xml file.1.62017/2/21vfsvirtual file system component for treating files, ftp, smb, zip and such like as a single logical file system.2.32019/2/4weaverprovides an easy way to enhance (weave) compiled bytecode.22018/
13、9/7除了上面表格中的工具包,apache common项目还包括以下几个工具包,其中的http-client是我们平常十分常用的。cactus: cactus is a simple test framework for unit testing server-side java code (servlets, ejbs, tag libs, filters, .). the intent of cactus is to lower the cost of writing tests for server-side code.hivemind: hivemind is a services
14、and configuration microkernel. hivemind allows you to create your application using a service oriented architecture.httpclient 3.x: framework for working with the client-side of the http protocol.naming: the naming subproject will contain common jndi code along with various jndi providers.guava类库gua
15、va工程包含了若干被google的 java项目广泛依靠 的核心库,例如:集合 collections 、缓存 caching 、原生类型支持 primitives support 、并发库 concurrency libraries 、通用注解 common annotations 、字符串处理 string processing 、i/o 等等。下面列出guava工具包中的常用功能点,以便需要的时候查阅用法。基本工具 basic utilities用法和避开null:null是模棱两可的,会引起令人困窘的错误,有些时候它让人很不舒适。无数guava工具类用迅速失败否决null值,而不是盲目
16、地接受。前置条件: 让办法中的条件检查更容易。常见object办法: 简化object办法实现,如hashcode()和tostring()。排序: guava强大的流畅风格比较器throwables:简化了异样和错误的传扬与检查。集合collectionsguava对jdk集合的扩展,这是guava最成熟和为人所知的部分不行变集合: 用不变的集合举行防备性编程和性能提升。新集合类型: multisets, multimaps, tables, bidirectional maps等。强大的集合工具类: 提供java.util.collections中没有的集合工具。扩展工具类:让实现和扩展集
17、合类变得更简单,比如创建collection的装点器,或实现迭代器。缓存cachesguava cache:本地缓存实现,支持多种缓存过期策略。函数式风格functional idiomsguava的函数式支持可以显著简化代码,但请谨慎用法它。并发concurrency强大而容易的抽象,让编写正确的并发代码更容易listenablefuture:完成后触发回调的futureservice框架:抽象可开启和关闭的服务,协助你维护服务的状态规律字符串处理strings十分实用的字符串工具,包括分割、衔接、填充等操作原生类型primitives扩展 jdk 未提供的原生类型(如int、char)操作
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 打击传销责任制度
- 执法部门工作责任制度
- 承包锅炉责任制度
- 投资部岗位责任制度范本
- 护理责任制度
- 拣货验货工作责任制度
- 接料口岗位责任制度
- 搏击馆岗位责任制度
- 收费站两个责任制度
- 政府食堂法律责任制度
- 地质勘探原始记录表格【实用文档】doc
- 日管控、周排查、月调度记录表
- GB/T 5752-2013输送带标志
- GB/T 3146.1-2010工业芳烃及相关物料馏程的测定第1部分:蒸馏法
- GB/T 31087-2014商品煤杂物控制技术要求
- GB/T 30812-2014燃煤电厂用玻璃纤维增强塑料烟道
- 住院医师规范化培训临床技能结业考核体格检查评分表(神经外科)
- 小学二年级下册体育教案(全册)
- 中国外文出版发行事业局所属企事业单位公开招聘71人模拟试卷【共500题附答案解析】
- 《导游基础知识》61中国古典园林概说课件
- (中职)客房服务与管理项目二楼层服务与管理 典型任务一 进行客房清洁(2课时)教案
评论
0/150
提交评论