public class JavaUtils extends JavaUtils
EMPTY_STRING_ARRAY| Modifier and Type | Method and Description |
|---|---|
static java.net.URI |
createURI(java.lang.String pathString)
Convert a String to a URI, handling special characters in the String such as
spaces.
|
static java.lang.Class |
getCheckedException(java.lang.Throwable throwable,
java.lang.reflect.Method method)
Get checked exception
|
static java.lang.String |
getPackageFromNamespace(java.lang.String namespace)
Namespace 2 Package algorithm as defined by the JAXB Specification
|
static java.lang.String |
getPackageFromNamespace(java.lang.String namespace,
boolean appendUnderscoreToKeyword) |
static java.util.List |
getPackagesFromNamespace(java.lang.String namespace) |
static java.lang.String |
stackToString()
Get a string containing the stack of the current location
|
static java.lang.String |
stackToString(java.lang.Throwable e)
Get a string containing the stack of the specified exception
|
callStackToString, capitalizeFirstChar, getObjectIdentity, getWrapperClass, getWrapperClass, hasUpperCase, indexOfIgnoreCase, isFalse, isFalse, isFalse, isFalseExplicitly, isFalseExplicitly, isFalseExplicitly, isJavaId, isJavaKeyword, isTrue, isTrue, isTrue, isTrueExplicitly, isTrueExplicitly, isTrueExplicitly, makeNonJavaKeyword, replace, split, xmlNameToJava, xmlNameToJavaIdentifierpublic static java.util.List getPackagesFromNamespace(java.lang.String namespace)
namespace - public static java.lang.String getPackageFromNamespace(java.lang.String namespace)
Namespace - getPackagesFromNamespacepublic static java.lang.String getPackageFromNamespace(java.lang.String namespace,
boolean appendUnderscoreToKeyword)
Namespace - apend - underscore to keywordpublic static java.lang.String stackToString()
public static java.lang.String stackToString(java.lang.Throwable e)
e - public static java.lang.Class getCheckedException(java.lang.Throwable throwable,
java.lang.reflect.Method method)
throwable - Throwablemethod - Methodpublic static java.net.URI createURI(java.lang.String pathString)
pathString - The String to be converted to a URICopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.