Results 1 to 2 of 2
  1. #1
    aaroncarpet's Avatar
    aaroncarpet is offline Senior Member
    Join Date
    Nov 2009
    Rep Power

    Default InputStreamReader

    how to truncate InputStreamReader ....i ask it to read a char and is not finished till the enter key is struck....and it only stores first character ....this function does not truncate on keystroke reads a charachter but program doesn't step till enter key....

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Rep Power

    Default Re: InputStreamReader

    From the API:

    For top efficiency, consider wrapping an InputStreamReader within a BufferedReader

    Also, depending upon your requirements have you considered using Scanner?

Similar Threads

  1. problem with InputStreamReader
    By vitaly87 in forum New To Java
    Replies: 2
    Last Post: 12-12-2010, 04:44 PM
  2. Replies: 0
    Last Post: 05-19-2010, 05:38 PM
  3. BufferedReader/InputStreamReader - NON-TECHNICAL
    By Abder-Rahman in forum New To Java
    Replies: 4
    Last Post: 09-27-2009, 10:49 PM
  4. Problem with in InputStreamReader, pls help
    By hyperkossan in forum New To Java
    Replies: 0
    Last Post: 12-10-2008, 08:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts