Reading Bigfiles using JAVA


This is one of the effecient ways to read a big files in JAVA using Chunks

InputStream is;
OutputStream os;

buffer[] = new byte[1024];
int read;
while((read = != -1)
    // do whatever you need with the buffer
Posted in Programming and tagged , , , , . Bookmark the permalink. RSS feed for this post. Leave a trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Swedish Greys - a WordPress theme from Nordic Themepark.