python-like Java IO library?
Posted
by drozzy
on Stack Overflow
See other posts from Stack Overflow
or by drozzy
Published on 2010-05-10T12:55:00Z
Indexed on
2010/05/10
13:04 UTC
Read the original article
Hit count: 131
Java is not my main programming language so I might be asking the obvious.
But is there a simple file-handling library in Java, like in python?
For example I just want to say:
File f = Open('file.txt', 'w')
for(String line:f){
//do something with the line from file
}
Thanks!
© Stack Overflow or respective owner