|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.fortuna.ical4j.util.Uris
public final class Uris
$Id: Uris.java,v 1.10 2011/02/20 03:14:09 fortuna Exp $ Created on 11/09/2005 Utility methods for working with URIs.
| Method Summary | |
|---|---|
static java.net.URI |
create(java.lang.String s)
Attempts to create a URI instance and will optionally swallow any resulting URISyntaxException depending on configured CompatibilityHints. |
static java.lang.String |
decode(java.lang.String s)
Decodes the specified URI string using the UTF-8 charset. |
static java.lang.String |
encode(java.lang.String s)
Encodes the specified URI string using the UTF-8 charset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String encode(java.lang.String s)
s - a URI string
public static java.lang.String decode(java.lang.String s)
s - a URI string
public static java.net.URI create(java.lang.String s)
throws java.net.URISyntaxException
CompatibilityHints. Will also automatically attempt encoding of the string representation for
greater compatibility.
s - a string representation of a URI.
java.net.URISyntaxException - if a valid URI string is not specified and relaxed parsing is disabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||