Todo
JAX-WS dependes on this class - consider moving it somewhere more stable, Notify JAX-WS before modifying anything... Other miscellaneous utility methods.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | Returns: true iff the given strings are equal ignoring case, false if they aren't equal or either of them are null.string 1 s, String string 2 t)determine if two Strings are equal ignoring case allowing null values |
| public static String | |
| public static String | Returns: the parent URI path of the given URI paththe uriPath (as returned by java.net.URI#getPath() uriPath)Calculate the parent URI path of the given URI path. |
| public static String | Returns: the normalized uri pathpath of a URI (as returned by java.net.URI#getPath() uriPath)Calculate the normalized form of the given uriPath. |
| Util | back to summary |
|---|---|
| private Util() | |
| equal | back to summary |
|---|---|
| public static boolean equal(String s, String t) determine if two Strings are iqual allowing null values | |
| equalsIgnoreCase | back to summary |
|---|---|
| public static boolean equalsIgnoreCase(String s, String t) determine if two Strings are equal ignoring case allowing null values | |
| escapeURI | back to summary |
|---|---|
| public static String escapeURI(String s) Escape any characters that would cause the single arg constructor of java.net.URI to complain about illegal chars.
| |
| getParentUriPath | back to summary |
|---|---|
| public static String getParentUriPath(String uriPath) Calculate the parent URI path of the given URI path. | |
| normalizeUriPath | back to summary |
|---|---|
| public static String normalizeUriPath(String uriPath) Calculate the normalized form of the given uriPath. For example:
| |