|
Well, basically, unless there is a method in API that I am unaware of ... you should treat the whitespace character differently than it is normally processed. For example, when you read the character, treat it as a newline. You probably can guess this... but if do you know this, you should be able to come with the way to do it. Also, you read in the data line by line.. so maybe you should use... read() or something like... readChar()....
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|