Results 1 to 2 of 2
  1. #1
    yahyaaa is offline Member
    Join Date
    Sep 2008
    Posts
    28
    Rep Power
    0

    Default Difference between FileReader and Scanner

    Greetings People

    In j2se1.4 we have FileReader class to read the content of file and in j2se1.5 we have new class called Scanner class which does the same thing, can anyone tell me what is the difference and do we need BufferReader class for Scanner ?

    Thank you all

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Yes. Scanner is horribly ineffecient. It is not meant for "bulk" anything.

Similar Threads

  1. FileReader problems
    By Maikl in forum New To Java
    Replies: 3
    Last Post: 12-14-2009, 11:51 AM
  2. FileReader help
    By emp in forum New To Java
    Replies: 1
    Last Post: 07-28-2009, 04:41 AM
  3. add FileReader to GUI
    By VinTiger in forum New To Java
    Replies: 8
    Last Post: 05-11-2009, 12:23 AM
  4. FileReader / Buffered Reader
    By sepaht in forum New To Java
    Replies: 9
    Last Post: 07-10-2008, 08:05 PM
  5. Help with filereader in java
    By zoe in forum Advanced Java
    Replies: 2
    Last Post: 07-26-2007, 09:55 AM

Posting Permissions

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