Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lloyd Alvarez   on May 18 In Java Category.

  
Question Answered By: Timothy Patterson   on May 18

Try using a BufferedReader. Assuming c.input is an InputStream object,
you can use

BufferedReader input  = new BufferedReader(c.input);

Then just do "input.readLine();" which returns a String and then
convert it to the type you actually want.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Simple solution to input? Or get search suggestion and latest updates.


Tagged: