Common utils for Java. Welcome to put your issues in issues.
Go to file
2019-12-27 17:22:45 +08:00
.idea demo for protobuf operation 2019-12-27 17:16:36 +08:00
src demo for protobuf operation 2019-12-27 17:16:36 +08:00
wiki@a6b373620b readme.md 2019-12-11 16:21:39 +08:00
_config.yml Set theme jekyll-theme-cayman 2019-11-21 16:34:27 +08:00
.gitattributes Initial commit 2019-07-26 15:12:03 +08:00
.gitignore Initial commit 2019-07-26 15:12:03 +08:00
LICENSE Initial commit 2019-07-26 15:12:03 +08:00
pom.xml demo for protobuf operation 2019-12-27 17:16:36 +08:00
README.md Update README.md 2019-12-27 17:22:45 +08:00

CommonUtil

  • Desc: A common utils jar for using redis elasticsearch Rest and file even more these.

Download

CommonUtil.jar

CommonUtil-javadoc.jar

CommonUtil-sources.jar

WIKI

Log

2019年12月27日 17:20:34 Demo to show how to operation Protobuf in java.Java中使用ProtoBuf数据

2019-12-05 14:33:23 New class for remotely connect to the server and execute the script.SSH2Util

How to use

Import it in your pom

Import jar into your maven

mvn install:install-file -Dfile=<path-to-file> -DgroupId=site.cnkj -DartifactId=CommonUtil -Dversion=1.0 -Dpackaging=jar

Note: is your local jar of full path.

For example:

mvn install:install-file -Dfile=/User/carol/Desktop/CommonUtil-1.0.jar -DgroupId=site.cnkj -DartifactId=CommonUtil -Dversion=1.0 -Dpackaging=jar

Import dependency into your pom.xml

<dependency>
    <groupId>site.cnkj</groupId>
    <artifactId>CommonUtil</artifactId>
    <version>1.0</version>
</dependency>

Use in project

RedisUtil ElasticSearch RestTemplateUtil MongodbUtil Thread Pool
SSH2Util DateUtil FileEncryptDecrypt FileUtil
GracefulShutdown HttpCommonUtil KafkaUtil LoggerUtil StringUtil