[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #1919] [Patch #1919] URI implementation
From: |
noreply |
Subject: |
[patch #1919] [Patch #1919] URI implementation |
Date: |
Tue, 16 Sep 2003 09:18:13 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 |
Patch #1919 has been updated.
Project:
Category: None
Status: Open
Summary: URI implementation
Follow-Ups:
Date: Tue 09/16/2003 at 13:14
By: robilad
Comment:
This is my initial URI implementation, as posted on the Classpath mailing list
[1] . It relies on java.util.regexp, so merging it in should probably wait
until Classpath has a working regexp implementation.
I'm reposting it here for consideration, since the hand written URI parser [2]
argued for by Giannis Georgalis was never written. My implementation has been
in use in kaffe since November 2002 to get Saxon to work in conjuction with
gnu.regex.
[1] http://mail.gnu.org/archive/html/classpath/2002-11/msg00164.html
[2] http://mail.gnu.org/archive/html/classpath/2003-02/msg00020.html
-------------------------------------------------------
Date: Tue 09/16/2003 at 13:18
By: robilad
Comment:
Finally the ChangeLog entry:
2002-11-29 Dalibor Topic <address@hidden>
* java/net/URI.java: partially implemented using java.util.regex.
(URI_REGEXP) new constant. Used to parse URIs.
(SCHEME_GROUP) new constant representing index of scheme group in
parsed URI.
(AUTHORITY_GROUP) new constant representing index of authority
group in parsed URI.
(PATH_GROUP) new constant representing index of path group in
parsed URI.
(QUERY_GROUP) new constant representing index of query group in
parsed URI.
(FRAGMENT_GROUP) new constant representing index of fragment group
in parsed URI.
(getURIGroup) new static utility method.
(parseURI) implemented.
(quote) stub for new static utility method.
(quoteAuthority) stub for new static utility method.
(quoteHost) stub for new static utility method.
(quotePath) stub for new static utility method.
(quoteUserInfo) stub for new static utility method.
(URI) implemented.
(create) don't throw URISyntaxException. Implemented.
(toString) implemented.
There is also a followup patch by Ito Kazumitsu that implements more of the URI
class here:
http://www.kaffe.org/pipermail/kaffe/2003-May/041921.html
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1919&group_id=85
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/