common-base

a tool lib that supplies exception structure and utils

Лицензия

Лицензия

Группа

Группа

io.github.shenbinglife
Идентификатор

Идентификатор

common-base
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

common-base
a tool lib that supplies exception structure and utils
Ссылка на сайт

Ссылка на сайт

https://github.com/shenbinglife/common-base
Система контроля версий

Система контроля версий

https://github.com/shenbinglife/common-base

Скачать common-base

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.shenbinglife/common-base/ -->
<dependency>
    <groupId>io.github.shenbinglife</groupId>
    <artifactId>common-base</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.shenbinglife/common-base/
implementation 'io.github.shenbinglife:common-base:1.0.0'
// https://jarcasting.com/artifacts/io.github.shenbinglife/common-base/
implementation ("io.github.shenbinglife:common-base:1.0.0")
'io.github.shenbinglife:common-base:jar:1.0.0'
<dependency org="io.github.shenbinglife" name="common-base" rev="1.0.0">
  <artifact name="common-base" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.shenbinglife', module='common-base', version='1.0.0')
)
libraryDependencies += "io.github.shenbinglife" % "common-base" % "1.0.0"
[io.github.shenbinglife/common-base "1.0.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.apache.commons : commons-lang3 jar 3.5
commons-io : commons-io jar 2.5
org.slf4j : slf4j-api jar 1.7.21
org.mybatis : mybatis Необязательный jar 3.4.6

provided (9)

Идентификатор библиотеки Тип Версия
commons-codec : commons-codec jar 1.10
commons-collections : commons-collections jar 3.2.2
commons-beanutils : commons-beanutils jar 1.9.3
org.apache.httpcomponents : httpclient jar 4.5.2
com.google.code.gson : gson jar 2.6.2
com.google.guava : guava jar 18.0
javax.servlet : javax.servlet-api jar 3.0.1
com.fasterxml.jackson.core : jackson-databind jar 2.3.4
org.springframework : spring-context jar 4.0.0.RELEASE

Модули Проекта

Данный проект не имеет модулей.

common-base

最基本的通用工具包,提供基本的异常结构,通用注解,工具类等

Maven地址

<dependency>
    <groupId>io.github.shenbinglife</groupId>
    <artifactId>common-base</artifactId>
    <version>1.0.0</version>
</dependency>

自定义异常

QQ截图20180718105106.png

自定义注解

@Log

自定义工具类

  • AssertUtil
  • JsonUtil
  • HttpClientUtil
  • MD5Util
  • RequestUtil
  • ResponseUtil
  • UrlConnectionUtil
  • VerifyCodeUtil
    ...

自定义Domain

  • BaseEntity
  • BaseService
  • BaseDAO
  • Message
  • PageList
  • Sorter

Mybatis插件

  • MapTypeHandler
  • MybatisUpdateInterceptor

Версии библиотеки

Версия
1.0.0