Paring text in java

Discussion in 'Java' started by MattJ83, Mar 6, 2007.

  1. MattJ83

    MattJ83 Guest

    Hi,

    I have to right a prototype program that parse's info from a set of
    apache logfiles, puts this data somewhere and then has a GUI to
    interact with this data. Ideally the GUI will be able to update the
    data load in data etc.

    Is there a way to do this with Java?

    I have written a java program that does what i want - is there a way
    of just integrating this into a Java GUI?

    So the perl script getst the info and loads it into a database - a
    java GUI would then grab this information and analyse it. (The Java
    would have to be able to run the perl script as well)

    Thanks,
     
    MattJ83, Mar 6, 2007
    #1
    1. Advertising

  2. MattJ83 wrote:
    > Hi,
    >
    > I have to right a prototype program that parse's info from a set of
    > apache logfiles, puts this data somewhere and then has a GUI to
    > interact with this data. Ideally the GUI will be able to update the
    > data load in data etc.
    >
    > Is there a way to do this with Java?
    >
    > I have written a java program that does what i want - is there a way
    > of just integrating this into a Java GUI?
    >
    > So the perl script getst the info and loads it into a database - a
    > java GUI would then grab this information and analyse it. (The Java
    > would have to be able to run the perl script as well)
    >
    > Thanks,
    >


    It would be very easy to integrate this in Java, like so:

    public class ParseAndDisplay {
    private static Data data; // Placeholder for data
    public static void main(String[] args) {
    data = parseData();
    displayGUI(data);
    storeData(data);
    }
    }
     
    Joshua Cranmer, Mar 6, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Kintner
    Replies:
    0
    Views:
    859
    Michael Kintner
    Nov 30, 2003
  2. Ilias Lazaridis
    Replies:
    0
    Views:
    593
    Ilias Lazaridis
    Feb 1, 2005
  3. jacksgoogle
    Replies:
    0
    Views:
    1,770
    jacksgoogle
    May 11, 2005
  4. manish sahu
    Replies:
    3
    Views:
    1,020
  5. leo
    Replies:
    1
    Views:
    297
    Bob Lehmann
    Dec 5, 2005
Loading...

Share This Page