Apache Commons IO
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 ...
InputStream in = new URL( "http://jakarta.apache.org" ).openStream(); try { InputStreamReader inR = new InputStreamReader( in
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 ...
Size Reduced for Images in PDF &...
05-15-2013, 05:53 PM in Java Software