Results 1 to 3 of 3
Thread: Buffered Reader
- 02-03-2010, 05:37 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 4
- Rep Power
- 0
-
A Reader only reads in Strings. If the file is a non-text file with binary data, you can read this in with say a (buffered) DataInputStream or if it's a serialized object then a buffered ObjectInputStream. Otherwise if it is text, then you'll likely want to use a Scanner object to read in the text and convert to longs, or use your reader and convert it yourself.
- 02-04-2010, 09:16 AM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Similar Threads
-
Buffered Reader problem
By pradeep.theonlyone in forum New To JavaReplies: 3Last Post: 07-31-2009, 11:37 AM -
Buffered Reader Exception
By hitmen in forum New To JavaReplies: 6Last Post: 01-07-2009, 11:14 AM -
Unable to draw buffered image
By pedjasmek in forum Java 2DReplies: 7Last Post: 08-08-2008, 03:49 PM -
FileReader / Buffered Reader
By sepaht in forum New To JavaReplies: 9Last Post: 07-10-2008, 08:05 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks