public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
createURL(String path) |
static String |
decodeURLParam(String parameter) |
static String |
getParamaterFromUrl(Pattern pattern,
URL url) |
static List<String> |
getParametersFromUrls(Pattern pattern,
List<URL> urls) |
static String |
getTrailingValueFromUrlPath(URL url) |
static void |
logException(org.apache.commons.logging.Log log,
Exception e) |
static void |
logException(org.apache.commons.logging.Log log,
String message,
Exception e) |
static Exception |
logExceptionAndGet(org.apache.commons.logging.Log log,
Exception e) |
static Exception |
logExceptionAndGet(org.apache.commons.logging.Log log,
String message,
Exception e) |
static void |
logWarnMessage(org.apache.commons.logging.Log log,
String message) |
public static String getParamaterFromUrl(Pattern pattern, URL url) throws NotFoundException
NotFoundExceptionpublic static List<String> getParametersFromUrls(Pattern pattern, List<URL> urls)
public static void logWarnMessage(org.apache.commons.logging.Log log,
String message)
public static void logException(org.apache.commons.logging.Log log,
Exception e)
public static void logException(org.apache.commons.logging.Log log,
String message,
Exception e)
public static Exception logExceptionAndGet(org.apache.commons.logging.Log log, Exception e)
Copyright © 2018 JBoss by Red Hat. All rights reserved.