Common utils for Java. Welcome to put your issues in issues.
.idea | ||
src | ||
wiki@a6b373620b | ||
_config.yml | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
pom.xml | ||
README.md |
CommonUtil
- Desc: A common utils jar for using redis elasticsearch Rest and file even more these.
Download
Log
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|