Results 1 to 2 of 2

Thread: End of file

  1. #1
    esadeghi is offline Member
    Join Date
    May 2008
    Posts
    2
    Rep Power
    0

    Default End of file

    i have this code :
    FileReader r = new FileReader("C:/Documents and Settings/User/Desktop/Data/edgesline.txt");
    r.read();
    how can i test whether i reach end of file or not?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. count character in text file as input file
    By aNNuur in forum New To Java
    Replies: 7
    Last Post: 03-25-2010, 04:01 PM
  2. Replies: 2
    Last Post: 04-07-2009, 06:25 AM
  3. Replies: 7
    Last Post: 05-23-2008, 03:46 AM
  4. How to read a text file from a Java Archive File
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 02-08-2008, 09:13 AM
  5. Converting text file(.txt) to JPG file(.jpg) in java
    By javadeveloper in forum Advanced Java
    Replies: 0
    Last Post: 11-09-2007, 04:22 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
  •