Does anybody know of an existing URI/URN java parser that can parse not only the scheme but also all the parameters. For example, it must be capable of parsing the following urn:
mailto:abc@def.com?subject=subj1&body=body1
Thanks!
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
Are we talking about JAVA or JavaScript... two different things here
Roshni Thilakhar
Greenhorn
Joined: Jun 24, 2004
Posts: 3
posted
0
Preferably a java parser
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
moving to the Java Beginner Forum then....
raj madhuram
Ranch Hand
Joined: Oct 10, 2001
Posts: 71
posted
0
You should be able to use java.net.URI class to do this. It might also be fairly easy to write a regexp to do the parsing
Raj
Originally posted by shakila xavier: Does anybody know of an existing URI/URN java parser that can parse not only the scheme but also all the parameters. For example, it must be capable of parsing the following urn:
mailto:abc@def.com?subject=subj1&body=body1
Thanks!
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.