Search:

Type: Posts; User: JavaPF

Search: Search took 0.08 seconds.

  1. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    OK cool. Glad I could help. I have marked this thread as solved :)
  2. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    Oh OK. Are you able to add it to a zip file and attach it?
    I'm a bit confused as to what the problem is so i'd like to see the code.
  3. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    Can you post your entire code.. Something I can compile?
  4. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    You could do something like this:


    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;

    public class ParseFile {

    /**
  5. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    Path = C://MARINOS
    var Access = 4
    var somthng = 6

    Is that the contents of the input file?

    You say you want the value of test. So in the file, will test look like:

    var test = 4
  6. Thread: parse txt file

    by JavaPF
    Replies
    16
    Views
    2,725

    [SOLVED] Re: parse txt file

    Can you show us an example input file please?
Results 1 to 6 of 6