Skip to content

ruanfw/awesome-libs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awesome-libs

some java useful utils and so on.

  1. ExcelUtil

封装了excel读取、生成操作

  1. HttpFileRenderUtil

render http file from url、file、inputstream

  1. ImageUtil

check the file is or not a image file

  1. HttpClientUtil

send http request with connection pool, newest with apache httpcomments httpclient 4.3

  1. ServerChanUtil

@see http://sc.ftqq.com/2.version

  1. SortUtil

include seven common use sort algorithms

  1. SystemUtil

    include some system function such as killByPid and so on

  2. LoogerUtil

    logger operation, can output the line u call the method

  3. JavaUtil

    Java operation util, such as get the line no of the code

  4. AwesomePropertiesPersister

支持**.properites,.json,.conf(HOCON),.yaml**文件格式

    <bean id="propertyConfigurer"
        class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="order" value="0"/>
        <property name="ignoreUnresolvablePlaceholders" value="true"/>
        ...
        <property name="propertiesPersister" ref="persister"/>
    </bean>
    <bean class="me.rowkey.libs.spring.config.AwesomePropertiesPersister"/>
  1. AwesomePropertyPlaceholderConfigurer

use this PropertyPlaceholderConfigurer can adapt .properties,.json,.conf,.yaml config files.

    <bean id="propertyConfigurer"
              class="me.rowkey.libs.spring.config.AwesomePropertyPlaceholderConfigurer">
        <property name="order" value="0"/>
        <property name="ignoreUnresolvablePlaceholders" value="true"/>
        <property name="locations">
            <list>
                ...
            </list>
        </property>
    </bean>
  1. spring-mvc-model-attribute-alias

  2. spring-remoting-thrift

About

Collections of some common useful java libs including utils, spring support and so on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%