Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Paring text in java

Thread view: 
MattJ83 - 06 Mar 2007 11:41 GMT
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,
Joshua Cranmer - 06 Mar 2007 22:47 GMT
> Hi,
>
[quoted text clipped - 13 lines]
>
> 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);
    }
}


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.