Home arrow static arrow Java Programming [Archive] - How to retrieve data from Text file. What is method?
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - How to retrieve data from Text file. What is method?
This topic has 1 reply on 1 page.

Posts:11
Registered: 6/28/04
How to retrieve data from Text file. What is method?  
Jun 28, 2004 8:36 PM



 
as above
 

Posts:1,183
Registered: 1/23/02
Re: How to retrieve data from Text file. What is method?  
Jun 28, 2004 9:39 PM (reply 1 of 1)



 
http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html

Use java.io.FileInputStream to read binary data, java.io.FileReader to read text.

Use java.io.BifferedInputStream and java.io.BufferedReader wrappers respectively for extra convinience and speed.

When in doubt, cousult the API http://java.sun.com/j2se/1.4.2/docs/api/ (package java.io in particular).
 
This topic has 1 reply on 1 page.