Package org.jboss.set.aphrodite.common
Class Utils
- java.lang.Object
-
- org.jboss.set.aphrodite.common.Utils
-
public class Utils extends Object
- Author:
- Ryan Emerson
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static URLcreateURL(String path)static StringdecodeURLParam(String parameter)static StringgetParamaterFromUrl(Pattern pattern, URL url)static List<String>getParametersFromUrls(Pattern pattern, List<URL> urls)static StringgetTrailingValueFromUrlPath(URL url)static voidlogDebugMessage(org.apache.commons.logging.Log log, String message)static voidlogException(org.apache.commons.logging.Log log, Exception e)static voidlogException(org.apache.commons.logging.Log log, String message, Exception e)static ExceptionlogExceptionAndGet(org.apache.commons.logging.Log log, Exception e)static ExceptionlogExceptionAndGet(org.apache.commons.logging.Log log, String message, Exception e)static voidlogWarnMessage(org.apache.commons.logging.Log log, String message)
-
-
-
Method Detail
-
getParamaterFromUrl
public static String getParamaterFromUrl(Pattern pattern, URL url) throws NotFoundException
- Throws:
NotFoundException
-
getParametersFromUrls
public static List<String> getParametersFromUrls(Pattern pattern, List<URL> urls)
-
logWarnMessage
public static void logWarnMessage(org.apache.commons.logging.Log log, String message)
-
logDebugMessage
public static void logDebugMessage(org.apache.commons.logging.Log log, String message)
-
logException
public static void logException(org.apache.commons.logging.Log log, Exception e)
-
logException
public static void logException(org.apache.commons.logging.Log log, String message, Exception e)
-
logExceptionAndGet
public static Exception logExceptionAndGet(org.apache.commons.logging.Log log, Exception e)
-
-