Package com.crawljax.core.configuration
Class ConfigurationHelper
- java.lang.Object
-
- com.crawljax.core.configuration.ConfigurationHelper
-
public final class ConfigurationHelper extends Object
Helper class for configurations.- Author:
- Danny Roest (dannyroest@gmail.com)
-
-
Constructor Summary
Constructors Modifier Constructor Description privateConfigurationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intbooleanToInt(boolean value)static StringlistToString(List<?> items)static StringlistToStringEmptyStringAllowed(List<String> items)
-
-
-
Method Detail
-
listToStringEmptyStringAllowed
public static String listToStringEmptyStringAllowed(List<String> items)
- Parameters:
items- The items to be added to the string.- Returns:
- string representation of list. format: a, b, , c. Empty String allowed
-
listToString
public static String listToString(List<?> items)
- Parameters:
items- The items to be added to the string.- Returns:
- string representation of list. format: a, b, c
-
booleanToInt
public static int booleanToInt(boolean value)
- Parameters:
value- The value to be converted- Returns:
- int value of boolean, true=1 false=0
-
-