欢迎访问shiker.tech

请允许在我们的网站上展示广告

您似乎使用了广告拦截器,请关闭广告拦截器。我们的网站依靠广告获取资金。

Apache Common 的简单介绍
(last modified Aug 7, 2022, 6:58 PM )
by
侧边栏壁纸
  • 累计撰写 178 篇文章
  • 累计创建 62 个标签
  • 累计收到 4 条评论

目 录CONTENT

文章目录

Apache Common 的简单介绍

橙序员
2022-08-06 / 0 评论 / 0 点赞 / 658 阅读 / 1,105 字 / 正在检测百度是否收录... 正在检测必应是否收录...
文章摘要(AI生成)

Apache Commons是一个致力于创建和维护可重用Java组件的项目。它提供了一系列常用的Java开发组件,包括:
1. BCEL字节码工程库:用于分析、创建和操作Java类文件的工具。
2. BeanUtils:围绕Java反射和内省API的易于使用的包装器。
3. BSF:提供了脚本语言的接口,使得使用各种脚本语言与Java代码进行交互变得简单。
4. Chain:实现了责任链模式,用于处理复杂的请求处理流程。
5. CLI:提供了命令行解析器,用于解析命令行参数和选项。
6. Codec:提供了通用的编码/解码算法,如语音编码、Base64编码、URL编码等。
7. Collections:扩展和增强了Java集合框架。
8. Compress:定义了处理tar、zip和bzip2文件的API。
9. Configuration:用于读取各种格式的配置文件或首选项文件。
10. Crypto:使用AES-NI包装的OpenSSL或JCE算法进行优化的加密库。
11. CSV:用于读写逗号分隔值(CSV)文件的组件。
12. Daemon:提供了类似Unix Daemon的Java代码的替代调用机制。
13. DBCP:提供了数据库连接池服务。
14. DbUtils:为JDBC提供了一些帮助程序库。
15. Digester:用于将XML转换为Java对象的实用工具。
这些组件都具有详细的使用文档和示例,可以在Apache Commons官方网站上找到。

apache commons

组件存在的目的在于:创建和维护可重用的java组件

组件列表(加粗为java开发常用组件):

组件 描述 使用文档
BCEL 字节码工程库-分析、创建和操作java类文件
BeanUtils 围绕java反射和内省api的易于使用的包装器
BSF 脚本语言的接口
chain 责任链模式的实现
CLI 命令行解析器
CodeC 通用编码/解码算法(例如语音、base64、URL)。 https://commons.apache.org/proper/commons-codec/userguide.html
Collections 扩展或扩充 Java 集合框架。 https://commons.apache.org/proper/commons-collections/userguide.html
Compress 定义用于处理 tar、zip 和 bzip2 文件的 API https://commons.apache.org/proper/commons-compress/examples.html
Configuration 读取各种格式的配置/首选项文件。 https://commons.apache.org/proper/commons-configuration/userguide/user_guide.html
Crypto 使用 AES-NI 包装 Openssl 或 JCE 算法实现进行优化的加密库。 https://commons.apache.org/proper/commons-crypto/userguide.html
CSV 用于读取和写入逗号分隔值文件的组件。 https://commons.apache.org/proper/commons-csv/user-guide.html
Damen 类似 unix-daemon 的 java 代码的替代调用机制。
DBCP 数据库连接池服务。 https://gitbox.apache.org/repos/asf?p=commons-dbcp.git;a=tree;f=doc;hb=HEAD
DbUtils JDBC 帮助程序库。 https://commons.apache.org/proper/commons-dbutils/examples.html
Digester XML 到 Java 对象的映射实用程序 https://commons.apache.org/proper/commons-digester/commons-digester-2.1/core.html
Email 用于从 Java 发送电子邮件的库 https://commons.apache.org/proper/commons-email/userguide.html
Exec 用于处理 Java 中的外部流程执行和环境管理的 API。 https://commons.apache.org/proper/commons-exec/tutorial.html https://commons.apache.org/proper/commons-exec/commandline.html
FileUpload servlet 和 Web 应用程序的文件上传功能。 https://commons.apache.org/proper/commons-fileupload/using.html
Functor 仿函数是可以作为对象或表示单个通用函数的对象来操作的函数 https://commons.apache.org/proper/commons-functor/examples.html
Geometry 空间和坐标。 https://commons.apache.org/proper/commons-geometry/userguide/index.html#toc
Imaging 一个纯 Java 图像库。 https://commons.apache.org/proper/commons-imaging/whyimaging.html
IO I/O 实用程序的集合。 https://commons.apache.org/proper/commons-io/description.html
JCI Java 编译器接口 https://commons.apache.org/proper/commons-jci/usage.html
JCS Java缓存系统 https://commons.apache.org/proper/commons-jcs/getting_started/intro.html
Jelly 基于 XML 的脚本和处理引擎。 https://commons.apache.org/proper/commons-jelly/index.html
Jexl 扩展了 JSTL 的表达式语言的表达式语言。 https://commons.apache.org/proper/commons-jexl/apidocs/org/apache/commons/jexl3/package-summary.html#usage
JXPath 使用 XPath 语法操作 Java Bean 的实用程序 https://commons.apache.org/proper/commons-jxpath/users-guide.html
Lang 为 java.lang 中的类提供额外的功能。 https://commons.apache.org/proper/commons-lang/javadocs/api-release/index.html
Logging 包装各种日志 API 实现。 https://commons.apache.org/proper/commons-logging/guide.html
Math 轻量级、独立的数学和统计组件。 https://commons.apache.org/proper/commons-math/userguide/index.html
Net 网络实用程序和协议实现的集合。 https://commons.apache.org/proper/commons-net/index.html
Numbers 数字类型(复数、四元数、分数)和实用程序(数组、组合)
OGNL 一种对象图导航语言 https://commons.apache.org/proper/commons-ognl/language-guide.html
Pool 通用对象池组件 https://commons.apache.org/proper/commons-pool/examples.html
Proxy 用于创建动态代理的库 https://commons.apache.org/proper/commons-proxy/index.html
RDF 可由 JVM 上的系统实现的 RDF 1.1 的通用实现 https://commons.apache.org/proper/commons-rdf/userguide.html
RNG 随机数生成器的实现。 https://commons.apache.org/proper/commons-rng/userguide/rng.html#a1._Purpose
SCXML 旨在创建和维护 Java SCXML 引擎的状态图 XML 规范的实现。它能够执行使用 SCXML 文档定义的状态机,并抽象出环境接口 https://commons.apache.org/proper/commons-scxml/guide/scxml-documents.html
Statistics 统计数据。 https://commons.apache.org/proper/commons-statistics/userguide/distribution.html
Text Apache Commons Text 是一个专注于字符串算法的库。 https://commons.apache.org/proper/commons-text/userguide.html
Validator 在 xml 文件中定义验证器和验证规则的框架。 https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/package-summary.html#package_description
VFS 虚拟文件系统组件,用于将文件、FTP、SMB、ZIP 等视为单个逻辑文件系统。 https://commons.apache.org/proper/commons-vfs/commons-vfs2-examples/index.html
Weaver 提供一种简单的方法来增强(编织)编译的字节码。 https://commons.apache.org/proper/commons-weaver/
0

评论区