[Open Source] A utility library that makes Java development easier, freeing creativity from repetitive and simple code
![[Open Source] A utility library that makes Java development easier, freeing creativity from repetitive and simple code](https://yy123.ink/api/img/1782605129428-s6suwd.jpg)
1. Project Overview
feilong A utility library that makes Java development easier
Reduce development, Release ideas (Free your creativity from repetitive and simple code)
- Free yourself fromlarge amounts of repetitivelow-level code,Improve work efficiency;
- Make your codeMore concise,Easy to write、Easy to read、Easy to maintain;
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
Overview at a Glance:

4. Feature Overview
Advantages of feilong:

Comparison 1:

Comparison 2:

Reasons to Use feilong-core
- Provides commonly used utility classes (such as date processing DateUtil, collection processing CollectionsUtil , etc.)
- Provides commonly used Java constant classes (such as date formats DatePattern, time intervals TimeInterval , etc.)
- UnnecessaryException conversions have been replaced withRuntimeException, reducing unnecessary code
- China-basedChinese CommentsComprehensive API Documentation
- Comprehensive Unit Tests
Background
During Java development, we often see developers directly copying long blocks of code from the internet, or writing code that goes on and on... The pain points include:
- Difficult to read
- Difficult to maintain
- Long technical debt reports from Sonar scans
- Being looked down upon by teammates during code reviews
- ....
feilong was created in 2008. Vision: Reduce development, Release ideas (Reduce development, unleash creativity). We aim to eliminate repetitive and cumbersome code, freeing you from large amounts of low-level boilerplate and improving work efficiency. Spend more time thinking about business logic and completeness, and make your code more concise, easier to write, easier to read, and easier to maintain.
After multiple iterations, the project has gradually become stable.
5. Tech Stack
Maven Configuration
Starting from version 3.0.0, feilong has been published to the Maven Central Repository.
Maven Configuration
<dependency> <groupId>com.github.ifeilong</groupId> <artifactId>feilong</artifactId> <version>3.3.0</version> </dependency>
Gradle Configuration
com.github.ifeilong:feilong:3.3.0
Non-Maven Projects
Click the Maven 2 repository link to download feilong.jar:
Notes:
- feilong 3 requires JDK 8+. It has not been tested on the Android platform, so compatibility with all utility classes and methods cannot be guaranteed.
- If your project uses JDK 7, please use feilong core version 2.1.0.
How to install?
Some developers may want to download and install it locally themselves for research purposes. You need to perform the following 2 steps:
Visit Yifei Open Source: [https://code.exmay.com/](https://code.exmay.com/) and download mvn install
Subproject Address
module
Description
feilong-core
Core Package
feilong-validator
Common validation utilities, including configurable mobile phone number and postal code validation
feilong-json
Common JSON operations, including JSON formatting, toBean, and toMap
feilong-io
Common file operations
feilong-servlet
HTTP Servlet-based wrappers, including convenient encapsulations of common request and response operations
feilong-accessor
Convenient session and cookie operations
feilong-formatter
Format Map, bean, and list objects into readable representations
feilong-net-http
HTTP Wrapper Operations
feilong-net-jsoup
jsoup Operations
feilong-net-filetransfer
FTP/SFTP Operations
feilong-template
Template Operations, such as Velocity
feilong-net-mail
Email Sending and Receiving Operations
feilong-net-cxf
CXF Operations
feilong-xml
Common XML operations, including XML formatting, toBean, and toMap
feilong-security
Encryption and Decryption Operations
feilong-context
Context Operations
feilong-namespace
Convenient operations configurable through Spring XML
feilong-taglib
Custom JSP Tags
feilong-tools
Availability Operations
feilong-office-csv
CSV Generation
feilong-office-excel
Excel Operations, supporting XML-based configuration for generating and reading Excel files
feilong-office-zip
Compression and Decompression Operations
feilong-component
Component-based operations, including configurable workflows for retrieving data --> converting it to Excel --> packaging it into a ZIP archive --> sending it via email
feilong
All-in-one total JAR package containing all the features listed above
feilong-with-optional
All-in-one total JAR package containing all the features listed above, including all optional JAR dependencies