Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> > I want to know if it is possible to read a whole file once into > Yes. I've done this before. Create a StringBuffer to hold your data and a BufferedReader to read it in. Then, write a loop that uses readLine() to read in each line of data and append it to what you've already read.
Replies: |
Sponsored Links
|