|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.schemagen.Util
public final class Util
TODO: JAX-WS dependes on this class - consider moving it somewhere more stable, Notify JAX-WS before modifying anything... Other miscellaneous utility methods.
Method Summary | |
---|---|
static boolean |
equal(String s,
String t)
determine if two Strings are iqual allowing null values |
static boolean |
equalsIgnoreCase(String s,
String t)
determine if two Strings are equal ignoring case allowing null values |
static String |
escapeURI(String s)
Escape any characters that would cause the single arg constructor of java.net.URI to complain about illegal chars. |
static String |
getParentUriPath(String uriPath)
Calculate the parent URI path of the given URI path. |
static String |
normalizeUriPath(String uriPath)
Calculate the normalized form of the given uriPath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String escapeURI(String s)
s
- source string to be escapedpublic static String getParentUriPath(String uriPath)
uriPath
- the uriPath (as returned by java.net.URI#getPath()
public static String normalizeUriPath(String uriPath)
uriPath
- path of a URI (as returned by java.net.URI#getPath()
public static boolean equalsIgnoreCase(String s, String t)
s
- string 1t
- string 2
public static boolean equal(String s, String t)
s
- string 1t
- string 2
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |