Skip to content

Latest commit

 

History

History
94 lines (57 loc) · 3.78 KB

README.md

File metadata and controls

94 lines (57 loc) · 3.78 KB

awesome-libs License

GitHub stars GitHub forks

some java useful utils and so on.

  1. ExcelUtil

    封装了excel读取、生成操作

  2. HttpFileRenderUtil

    render http file from url、file、inputstream

  3. ImageUtil

    check the file is or not a image file

  4. HttpClientUtil

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

  5. ServerChanUtil

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

  6. SortUtil

    include seven common use sort algorithms

  7. LoogerUtil

    logger operation, can output the line u call the method

  8. JavaUtil

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

  9. Networks

    network utils, include ip、hostaddress...

  10. Systems

    include some system function such as killByPid, hostName, hsotPid and so on

  11. Urls

    url process tools.

  12. Maps

    Map util, such as convert java bean to/from map.

  13. LRUCache

    lru缓存的linkedhashmap实现

  14. AwesomePropertiesPersister

    支持**.properites,.json,.conf(HOCON),.yaml**文件格式;支持java properties包含中文

     <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 id="persister" class="me.rowkey.libs.spring.config.AwesomePropertiesPersister"/>
    
  15. AwesomePropertyPlaceholderConfigurer

    use this PropertyPlaceholderConfigurer can adapt .properties,.json,.conf,.yaml config files and support chinese in java properties.

     <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>
    
  16. spring-mvc-model-attribute-alias

  17. spring-remoting-thrift

  18. picocli

    Annotation based command line parser with strong typing for both options and positional args and support for git-like subcommands. Usage help with ANSI colors. Easily included as source to avoid external dependencies.