Top Java Application Classes-these features are no longer written by yourself __java

Source: Internet
Author: User

There are many application classes in Java that define static methods to solve many common problems. The following are the top 16 application classes available through 50,000 open source project statistics. Classes are arranged by popular programs, and class methods are sorted by popular programs.

Browse this class to see what features you don't need to write yourself. Very useful. Click on the link to see the specific use of the example. Original from: http://www.programcreek.com/2015/12/top-10-java-utility-classes/

1. Org.apache.commons.io.IOUtils closequietly () toString () copy () Tobytearray () write () Toinputstream () Readli NES () Copylarge () Lineiterator () readfully ()

2. Org.apache.commons.io.FileUtils deletedirectory () readfiletostring () deletequietly () CopyFile () () Writestringtofi Le () Forcemkdir () write () Listfiles () copydirectory () Forcedelete ()

3. Org.apache.commons.lang.StringUtils IsBlank () Isnotblank () IsEmpty () Isnotempty () equals () Join () split () EMPTY trimtonull () replace ()

4. Org.apache.http.util.EntityUtils toString () consume () Tobytearray () consumequietly () Getcontentcharset ()

5. Org.apache.commons.lang3.StringUtils IsBlank () Isnotblank () IsEmpty () Isnotempty () join () equals () Split ( ) EMPTY replace () capitalize ()

6. Org.apache.commons.io.FilenameUtils getextension () getbasename () GetName concat () removeextension () Normali Ze () wildcardmatch () Separatorstounix () GetFullPath () isextension ()

7. Org.springframework.util.StringUtils HasText () haslength () IsEmpty () Commadelimitedlisttostringarray () () collecti Ontodelimitedstring () replace () Delimitedlisttostringarray () uncapitalize () collectiontocommadelimitedstring () t Okenizetostringarray ()

8. Org.apache.commons.lang.ArrayUtils contains () AddAll () Clone () IsEmpty () Add () Empty_byte_array Subarray () IndexOf () isequals () Toobject ()

9. org.apache.commons.lang.stringescapeutils escapehtml () unescapehtml () EscapeXML () escapeSql () Java ()

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.