public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBadDoubleString(java.lang.String s)
isBadDoubleString checks if passed string could hang JVM.
|
static java.lang.String |
quote(java.lang.String pStr)
Quotes the passed string.
|
public static java.lang.String quote(java.lang.String pStr)
pStr
- public static boolean isBadDoubleString(java.lang.String s)
s
- A string to be converted to a Double.true
if double is in range of bad values,
false
otherwise.Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.