public final class ConverterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
strToBool(String _str)
Returns true if string matches certain boolean values.
|
static Integer |
strToInt(String _str)
Convert given String to Integer, returns null if String is not an integer.
|
static Integer |
strToInt(String _str,
Integer _default)
Convert given String to Integer, returns _default if String is not an integer.
|
static Properties |
toProperties(Map<?,?> _map)
Convertes a map to a Properties object.
|
public static Integer strToInt(String _str, Integer _default)
_str - _default - public static Integer strToInt(String _str)
_str - public static boolean strToBool(String _str)
_str - public static Properties toProperties(Map<?,?> _map)
_map - Copyright © 2018. All rights reserved.