java parser  
Author Message
wfuphan





PostPosted: 2003-7-3 6:27:00 Top

java-programmer, java parser Hello,
I am new to programming and I need to create a parser for an
application using java. I am using J++ to complete this task. Any
help or advice would be greatly appreciated.

Also, Can anyone assist me in creating a simple progress bar?


Thanks,
Brad
 
Marco Schmidt





PostPosted: 2003-7-3 14:00:00 Top

java-programmer >> java parser CBP:

>I am new to programming and I need to create a parser for an
>application using java. I am using J++ to complete this task. Any
>help or advice would be greatly appreciated.

See
<http://directory.google.com/Top/Computers/Programming/Languages/Java/Development_Tools/Translators/Lexer_and_Parser_Generators/>
for parser generators. You will have to specify the language the
parser is supposed to understand, but then the parser will be
generated for you.

>Also, Can anyone assist me in creating a simple progress bar?

See
<http://java.sun.com/docs/books/tutorial/uiswing/components/progress.html>
for an introduction of progress bars under Swing.

Regards,
Marco
--
Please reply in the newsgroup, not by email!
Java programming tips: http://jiu.sourceforge.net/javatips.html
Other Java pages: http://www.geocities.com/marcoschmidt.geo/java.html
 
wfuphan





PostPosted: 2003-7-11 1:36:00 Top

java-programmer >> java parser Hello,
Can anyone give me any tips for creating a file parser w/Java? I'm
new to programming and I need some assistance in completing this task.
Any tips or documentation would be greatly appreciated.

Thanks,
Brad
 
 
a_rueckert





PostPosted: 2003-7-11 4:20:00 Top

java-programmer >> java parser On 10 Jul 2003 10:36:29 -0700, CBP <email***@***.com> wrote:
>Hello,
>Can anyone give me any tips for creating a file parser w/Java? I'm
>new to programming and I need some assistance in completing this task.
> Any tips or documentation would be greatly appreciated.

Do you want to parse Java sources? Or just any other file format?
Maybe you should take a look at antlr.org and write a grammar?

Ciao,
Andreas

 
 
Gregory Seront





PostPosted: 2004-9-9 23:27:00 Top

java-programmer >> java parser Hi,

do you know any source for a good java parser?
I do not need a compiler, I need to extract information from the synthactic
tree.
And how much time would be required to write a parser myself with good
tools like bisous and flex.


thanks in advance for your replies,

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 
 
Adam





PostPosted: 2005-12-14 10:37:00 Top

java-programmer >> java parser Hello,

This is my third try at this posting. Something must be wrong with my
setup. Here's one last try. I'm looking for a Java HTML parser that will let
me parse checkbox names/values as well as their text labels. I need to write
a Java program that GETs a web page, processes it, then POSTs the desired
choices. I have seen many good parsers, but none that let me do what I want
without a lot of fuss.

TIA,
Adam


 
 
John Bailo





PostPosted: 2005-12-14 13:39:00 Top

java-programmer >> java parser Adam wrote:

> This is my third try at this posting. Something must be wrong with my
> setup. Here's one last try. I'm looking for a Java HTML parser that will let
> me parse checkbox names/values as well as their text labels. I need to write
> a Java program that GETs a web page, processes it, then POSTs the desired
> choices. I have seen many good parsers, but none that let me do what I want
> without a lot of fuss.

Why don't you use a Regex with a Matches group to extract that
information from the HTML -- write your own parser basically.
 
 
Thomas Weidenfeller





PostPosted: 2005-12-14 18:27:00 Top

java-programmer >> java parser Adam wrote:
> Hello,
>
> This is my third try at this posting. Something must be wrong with my
> setup.

And it is the third time I see it. Was there anything wrong with the
previous eight or so answers you got?

/Thomas
--
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
 
 
Chris Uppal





PostPosted: 2005-12-14 19:13:00 Top

java-programmer >> java parser Thomas Weidenfeller wrote:

> > This is my third try at this posting. Something must be wrong with
> > my setup.
>
> And it is the third time I see it. Was there anything wrong with the
> previous eight or so answers you got?

Presumably he can't see them any more than he can see his own posts.

(FWIW, I've emailed him directly to say that his posts /are/ showing up, I
daresay I'm not the only one to do so...)

-- chris



 
 
Cos





PostPosted: 2005-12-16 2:11:00 Top

java-programmer >> java parser Hey.

Try to google this thing
HTMLEditorKit.ParserCallback
Not the best HTML parser ever but it does job.

Cos

 
 
Adam





PostPosted: 2005-12-17 8:53:00 Top

java-programmer >> java parser Hello all,

I finally got to see my post and all your kind responses. I still don't
have a good answer to my original post though. I am looking for a Java HTML
parser that would let me decode all the names, values and labels of a bunch
of checkboxes on a web page. I then want to present the info to my user and
POST a response. I guess what I am after is more like a simple interpreter
or browser. This is a labor of love for my wife actually. We homeschool our
children using a curriculum from Bob Jones University. They broadcast their
classes over satellite and have a web site to indicate schedules and such. I
want to be able to GET the class options and POST her choices
programmatically. I already have code that can digitally record the shows.
What I am missing is the ability to download and process the schedules.

TIA,
Adam

"Adam" <email***@***.com> wrote in message
news:email***@***.com...
> Hello,
>
> This is my third try at this posting. Something must be wrong with my
> setup. Here's one last try. I'm looking for a Java HTML parser that will
let
> me parse checkbox names/values as well as their text labels. I need to
write
> a Java program that GETs a web page, processes it, then POSTs the desired
> choices. I have seen many good parsers, but none that let me do what I
want
> without a lot of fuss.
>
> TIA,
> Adam
>
>