| java.lang.Object workbench.util.ValueConverter
ValueConverter | public class ValueConverter (Code) | | Utility class to parse Strings into approriate Java classes according
to a type from java.sql.Types.
author: support@sql-workbench.net |
ValueConverter | public ValueConverter()(Code) | | |
getTimestampPattern | public String getTimestampPattern()(Code) | | |
setAutoConvertBooleanNumbers | public void setAutoConvertBooleanNumbers(boolean flag)(Code) | | |
setBooleanLiterals | public void setBooleanLiterals(Collection<String> trueValues, Collection<String> falseValues)(Code) | | Define a list of literals that should be treated as true or
false when converting input values.
If either collection is null, both are considered null
If these values are not defined, the default boolean conversion implemented
in
workbench.util.StringUtil.stringToBool(String) is used (this is the
default)
Parameters: trueValues - String literals to be considered as true Parameters: falseValues - String literals to be considered as false |
setDecimalCharacter | public void setDecimalCharacter(char aChar)(Code) | | |
|
|