Commons IO is a library of utilities to assist with developing IO functionality.
There are four main areas included:
* Utility classes - with static methods to perform common tasks
* Filters - various implementations of file filters
* Comparators - various implementations of
... [More] java.util.Comparator for files
* Streams - useful stream, reader and writer implementations [Less]
Stream Utilities (EasyStream)Small set of utilities for dealing with streams. You can use this library for:
'Convert' an OutputStream into an InputStream. Stream statistics gathering: bytes read/written, bit rate. Stream buffering: read the content of an InputStream multiple times or seek to a
... [More] definite position. Stream wiring: While reading the data from an InputStream "tee" it to supplied OutputStream(s) or write data to multiple OutputStream(s) at the same time. EasyStream is a natural extension of Apache commons-io, providing advanced solutions to some common but not trivial problem. Focus is on performance and memory usage.
Format detection (WazFormat)This library is a format identification framework that integrates a native format identification engine with droid and in future will integrate mime-utils and apache tika.
Supports more than 60 file formats. on the fly detection: it wraps the original InputStream so it's able to "preserve" the data in it for further processing (the data is eventually buffered to disk or to memory but the users won't notice it). Nested detection: it can detect what is inside a bzip2 stream or a PKCS#7 document. Result of identification is an Enum. Most of identification libraries return a string that must be further parsed by the calling software. What is next ?Take the 5 minutes tutorials: 'Convert' an OutputStream into an InputStream introduction stream utilities explained usage. format identification. Check out the full API (Javadoc) at easystream and wazformat . Download the latest version (see the link on the right) or if you're a Maven2 user install it (if you use Maven2 you'll get the freshest but stable version). Post your questions on the users forum.
Any help is appreciated (also comment or suggestion or bug reports). If you want to contribute please contact me through the forum and request for a membership. [Less]