top-image

Tag archives for commons

Apache: Commons lang (example StringEscapeUtils.escapeHtml)
A simple post concerning a very good class org.apache.commons.lang3.StringEscapeUtils in the library commons-lang3-3.1.jar of Apache Commons Lang for the manipulation of java core classes. From the official Apache documentation: The standard Java libraries fail to provide enough methods for manipulation of its core classes. Apache Commons Lang provides these extra methods. Lang provides a host of helper utilities for the java.lang API, notably ...more»
Apache: Commons collection (example ListUtils lazyList)
A simple post concerning a very good class ListUtils in the library commons-collections-3.2.jar of Apache for the collection's manipulation. The method lazyList returns a "lazy" list whose elements will be created on demand. So, the outputs in console would be: Some comments: - after the code , the list is initialized with 4 elements ( from index 0 to index 3). - after the ...more»
Apache: Commons Compress – zip, tar, gzip
For the needs of a project, I have had the opportunity to use the Apache Commons Compress libary in order to archive and compress files in ZIP, TAR, GZIP. Here, a brief presentation of this library from Apache: Apache Commons Compress software defines an API for working with compression and archive formats. These include: bzip2, gzip, pack200 and ar, cpio, jar, ...more»
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.