Partial reading of file in Java -



Partial reading of file in Java -

i creating java application in need read first few lines of huge text file , processing. possible instead of getting entire file, read first few lines , fetch data? , beingness done using java api.

yes, can done. when utilize bufferedreader, example, read (buffer_size) file. can process before reading next fragment...

for example, see this tutorial

java file api io

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -