View RSS Feed

Commons IO

Apache Commons IO

  1. Apache IOUtils

    by , 02-24-2012 at 07:57 PM
    These utility methods are provided by the IOUtils:

    1. Reading
    2. Copying
    3. Writing

    Given methods work at:

    1. InputStream
    2. OutputStream
    3. Writer
    4. Reader

    Bytes would be read a URL by the help of this code and will make them printed.
    Java Code: This is the code to explain IOUtils
    InputStream in = new URL( "http://jakarta.apache.org" ).openStream();
     try {
       InputStreamReader inR = new InputStreamReader( in
    ...
    Categories
    Commons IO
  2. Apache Commons IO

    by , 02-24-2012 at 07:55 PM
    Commons IO is utilitie’s library to help for development of the IO functionality.
    Main six main areas are:

    • Utility classes – Performance of the common tasks with static methods.
    • Input - Reader implementations & useful input stream.
    • Output - Writer implementations & useful output stream.
    • Filters - File filters implementations.
    • Comparators - java.util.Comparator implementations for files
    • File Monitor - Component to monitor ...
    Categories
    Commons IO