org.opennms.web
Class WebSecurityUtils

java.lang.Object
  extended by org.opennms.web.WebSecurityUtils

public class WebSecurityUtils
extends Object

Author:
Jeff Gehlbach

Constructor Summary
WebSecurityUtils()
           
 
Method Summary
static double safeParseDouble(String dirty)
           
static float safeParseFloat(String dirty)
           
static int safeParseInt(String dirty)
           
static long safeParseLong(String dirty)
           
static String sanitizeDbColumnName(String dirty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSecurityUtils

public WebSecurityUtils()
Method Detail

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 © 2008. All Rights Reserved.