reading and writing java text files

Reply

Join Date: Sep 2008
Posts: 91
Reputation: ezkonekgal is an unknown quantity at this point 
Solved Threads: 1
ezkonekgal ezkonekgal is offline Offline
Junior Poster in Training

reading and writing java text files

 
0
  #1
Oct 18th, 2008
what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: reading and writing java text files

 
0
  #2
Oct 18th, 2008
Originally Posted by ai0372 View Post
what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'
well, in this way, it would look like it means:
writing a text file using a part of code written in Java
reading a text file using a part of code written in Java
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 59
Reputation: Chaster is an unknown quantity at this point 
Solved Threads: 3
Chaster Chaster is offline Offline
Junior Poster in Training

Re: reading and writing java text files

 
0
  #3
Oct 18th, 2008
Originally Posted by ai0372 View Post
what does it mean when you say' reading a java text file?'

what does it mean when you say 'writing a java text file?'
Files in Java are usually holders of different kinds of data. Reading a text file usually means taking a piece of information out of the file. This piece of information will now be usable by your program.

Writing text files is a (simple, very basic) mode of saving data. By this operation you make it possible to use your data again. Your will not lose your results, values etc.

These two operations actually are done by getting a reference to a specific file, by which you can manipulate it's content. Try searching BufferedReader and FileReader for more information.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 706
Reputation: stultuske is a jewel in the rough stultuske is a jewel in the rough stultuske is a jewel in the rough 
Solved Threads: 84
stultuske's Avatar
stultuske stultuske is offline Offline
Master Poster

Re: reading and writing java text files

 
0
  #4
Oct 18th, 2008
Originally Posted by Chaster View Post
Files in Java are usually holders of different kinds of data. Reading a text file usually means taking a piece of information out of the file. This piece of information will now be usable by your program.

Writing text files is a (simple, very basic) mode of saving data. By this operation you make it possible to use your data again. Your will not lose your results, values etc.

These two operations actually are done by getting a reference to a specific file, by which you can manipulate it's content. Try searching BufferedReader and FileReader for more information.
he didn't ask how to do this, chances are, he knows (or thinks to know) how to do this, just wasn't sure what his assignment ment
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC