com.sun.xml.bind.v2.schemagen
public final class Util extends Object
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.
|
Parameters: s string 1 t string 2
Returns: true iff the strings are equal, false if they aren't equal or either of them are null.
Parameters: s string 1 t string 2
Returns: true iff the given strings are equal ignoring case, false if they aren't equal or either of them are null.
Parameters: s source string to be escaped
Parameters: uriPath the uriPath (as returned by java.net.URI#getPath()
Returns: the parent URI path of the given URI path
Parameters: uriPath path of a URI (as returned by java.net.URI#getPath()
Returns: the normalized uri path