jodd操作html,jodd: Jodd 是一个开源的 Java 工具集, 包含一些实用的工具类和小型框架。简单,却很强大! Jodd = Tools + IoC + MVC + DB + AOP...

Jodd

jodd.svg

jodd.svg

jodd.svg

download.svg

jodd.svg

stack%20overflow-jodd-4183C4.svg

jodd.svg?style=social

jodd.svg

0ce3a0ae3667441fbbd261f6c9e043b0

Jodd is set of open source Java micro-frameworks and tools; compact, yet powerful.

Jodd = tools + ioc + mvc + db + aop + tx + json + html < 1.7 Mb

Read about Jodd:

Official web site (site, documentation, information): http://jodd.org/

GitHub page (5 min overview): http://oblac.github.io/jodd

Jodd micro-frameworks (30 min overview): http://joddframework.org

Jodd Modules

Jodd is split into many modules, so choose what to use.

Some tools and utility modules are:

jodd-core contains many utilities, including JDateTime.

jodd-bean, our infamous BeanUtil, type inspectors and converters.

jodd-props is the super-replacement for Java Properties.

jodd-mail for easier email sending.

jodd-upload, handles HTTP uploads.

jodd-servlet with many servlet utilities, including nice tag library.

jodd-http, tiny HTTP client.

and some micro-frameworks:

jodd-madvoc - slick MVC framework.

jodd-petite - pragmatic DI container.

jodd-lagarto - HTML parser with Jerry and CSSelly.

jodd-decora - pages decorator.

jodd-htmlstapler - static page resources handler.

jodd-proxetta - dynamic proxies and Paramo.

jodd-db - thin database layer and object mapper.

jodd-json - JSON parser and serializer.

jodd-vtor - validation framework.

Jodd Bundle

If you are already using many Jodd jars, you can simply

just use the bundle jar: jodd-all. It's a single jar with

all modules included; where all dependencies are optional. Why not :)

Building Jodd from source

Jodd is built with Gradle on JDK8,

targeting Java 1.8. You don't have to install anything,

the only prerequisites are Git

and Java JDK.

Check out sources

Simply clone Jodd Git repo:

git clone https://github.com/oblac/jodd.git jodd

Compile and test, build jars

You can build the Jodd project with:

gradlew build

This will build all jars and run all unit tests.

To skip the tests (for faster build), execute:

gradlew build -x test

Build full release with reports

To generate full release, including running integration tests and generating various reports,

you need Docker v1.12+.

docker-compose -f etc/docker-compose.yml up

gradlew clean release

Integration tests requires some infrastructure (like databases), hence Docker is

used.

Install Jodd into your local Maven

gradlew install

Contribute

Feel free to contribute! Follow these steps:

First time only:

fork the Jodd repo (upstream) to your GitHub account (origin).

clone origin as your local repo

Every other time:

update both origin and local repos from upstream

create new branch for a feature or bug fix

commit often :)

once when work is done, push local changes to your origin

send us a pull request (PR)

We will pickup up from there :)

abf7bfad112e3fba7105782e1b906c4a.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值