public class JavaUtils extends JavaUtils
EMPTY_STRING_ARRAY| Modifier and Type | Method and Description |
|---|---|
static URI |
createURI(String pathString)
Convert a String to a URI, handling special characters in the String such as
spaces.
|
static Class |
getCheckedException(Throwable throwable,
Method method)
Get checked exception
|
static String |
getPackageFromNamespace(String namespace)
Namespace 2 Package algorithm as defined by the JAXB Specification
|
static String |
getPackageFromNamespace(String namespace,
boolean appendUnderscoreToKeyword) |
static List |
getPackagesFromNamespace(String namespace) |
static String |
stackToString()
Get a string containing the stack of the current location
|
static String |
stackToString(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 List getPackagesFromNamespace(String namespace)
namespace - public static String getPackageFromNamespace(String namespace)
Namespace - getPackagesFromNamespacepublic static String getPackageFromNamespace(String namespace, boolean appendUnderscoreToKeyword)
Namespace - apend - underscore to keywordpublic static String stackToString()
public static String stackToString(Throwable e)
e - public static Class getCheckedException(Throwable throwable, Method method)
throwable - Throwablemethod - MethodCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.