org.opennms.web
Class WebSecurityUtils
java.lang.Object
org.opennms.web.WebSecurityUtils
public class WebSecurityUtils
- extends Object
- Author:
- Jeff Gehlbach
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSecurityUtils
public WebSecurityUtils()
sanitizeString
public static String[] sanitizeString(String[] raw)
sanitizeString
public static String sanitizeString(String raw)
safeParseInt
public static int[] safeParseInt(String[] dirty)
throws NumberFormatException
- Throws:
NumberFormatException
safeParseInt
public static int safeParseInt(String dirty)
throws NumberFormatException
- Throws:
NumberFormatException
safeParseLong
public static long safeParseLong(String dirty)
throws NumberFormatException
- Throws:
NumberFormatException
safeParseFloat
public static float safeParseFloat(String dirty)
throws NumberFormatException
- Throws:
NumberFormatException
safeParseDouble
public static double safeParseDouble(String dirty)
throws NumberFormatException
- Throws:
NumberFormatException
sanitizeDbColumnName
public static String sanitizeDbColumnName(String dirty)
Copyright © 2009. All Rights Reserved.