View RSS Feed

Java IO

Java Input Output

  1. How to work zip files in Java

    by , 02-29-2012 at 09:59 AM
    he Java platform provides powerful API to work with the most popular compressed file format zip format. This article will show you how to write code to compress and decompress zip files using Java. And beyond the basics, the code that works with multiple files in a directory recursively is also provided.

    The Zip API

    The package java.util.zip provides classes for working with zip file format. Although the documentation states that the package also provides classes ...
    Tags: file, java, zip Add / Edit Tags
    Categories
    Zip
  2. Java I/O performance

    by , 01-08-2012 at 12:40 PM
    Java has always issues with its I/O performance. To handle large amount of data, it will take significant amount of time. So you must tune and improve your I/O performance. It should be done on high priority by the developer.

    Follow these rules to improve I/O performance.

    Minimize hard disk access.
    Minimize OS access.
    Minimize processing of individual bytes

    Also you can consider following to improve your I/O performance.
    ...
    Categories
    Performance