Read & Write text file?

Discussion in 'Plugin Development' started by Reteckz, Mar 28, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Reteckz

    Hello,

    I couldn't find it anywhere else, so i'm here to ask you guys for help.

    How to write a text file within eclipse, and also read it? I am planning to use this for a XP storage.
     
  2. Offline

    Nitnelave

    Eclipse is just a IDE, a window in which you type your code. You can create a text file with any text editor outside Eclipse, but I've got a feeling that's not what you want....
    To read/write a text file with JAVA, though, there are any numbers of tutorial on the internet. Here's one, for example (don't use the JDK7 version, it is required for plugin to be compatible with java 6, or even 5)
    http://www.javapractices.com/topic/TopicAction.do?Id=42
     
Thread Status:
Not open for further replies.

Share This Page