Search:

Type: Posts; User: Prostak

Search: Search took 0.29 seconds.

  1. Replies
    6
    Views
    1,156

    Re: How to make Eclipse work with txt file?

    Chris, how would you open a txt file using Java? Please help.
  2. Replies
    6
    Views
    1,156

    Re: How to make Eclipse work with txt file?

    Chris, but this code doesn't work for me:


    public class FileOpener {
    inputStream = new BufferedReader(new FileReader("sample.txt"));
    } What am I doing wrong?
  3. Replies
    6
    Views
    1,156

    Re: How to make Eclipse work with txt file?

    Thanks for reply, Chris, but unfortunately I wasn't able to find an answer to my question from your links. Could you tell me how to write a method that would open my file and type the word there,...
  4. Replies
    6
    Views
    1,156

    How to make Eclipse work with txt file?

    Hi everybody,

    I have Eclipse 3.6.0 installed on Window XP. Also there a sample file in C:\ called sample.txt
    The file is empty.

    Please give a code that opens this particular file and write a...
Results 1 to 4 of 4