dev@jsr311.java.net

Re: UriBuilder <was> Re: How to create URIs?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 29 Aug 2007 11:17:21 +0200

Paul Sandoz wrote:
> For the latter case some character validation functionality would be
> required (we could reuse URI to validate but it is very inefficient,
> e.g. new URI(null, null, "/a/no space/c", null).getRawPath())
>

The example was wrongm it should be either:

    new URI("/a/no space/c").getRawPath();

    URI.create("/a/no space/c").getRawPath();

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109