The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

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:

FileInputStream

Posted by Hiran on January 17, 2002 at 10:42 AM

But doesn't the read method return the integer value of the byte. I need the actual character. Would it work if I converted the integer value to a char and then appended it to a String?
Hiran

> how about using FileInputStream? I use that and as far as I remember, it reads byte per byte, which includes the newline and spaces.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us