Class CSVParseUtils
- java.lang.Object
-
- it.bancaditalia.oss.vtl.impl.environment.util.CSVParseUtils
-
public class CSVParseUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BOOLEAN_DOMAIN_PATTERN
static String
DATE_DOMAIN_PATTERN
static String
PERIOD_DOMAIN_PATTERN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map.Entry<List<DataStructureComponent<?,?,?>>,Map<DataStructureComponent<?,?,?>,String>>
extractMetadata(String[] headers)
static ScalarValue<?,?,?,?>
mapValue(DataStructureComponent<?,?,?> component, String stringRepresentation, String mask)
static Map.Entry<ValueDomainSubset<?,?>,String>
mapVarType(String typeName)
-
-
-
Field Detail
-
DATE_DOMAIN_PATTERN
public static final String DATE_DOMAIN_PATTERN
- See Also:
- Constant Field Values
-
BOOLEAN_DOMAIN_PATTERN
public static final String BOOLEAN_DOMAIN_PATTERN
- See Also:
- Constant Field Values
-
PERIOD_DOMAIN_PATTERN
public static final String PERIOD_DOMAIN_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
mapValue
public static ScalarValue<?,?,?,?> mapValue(DataStructureComponent<?,?,?> component, String stringRepresentation, String mask)
-
mapVarType
public static Map.Entry<ValueDomainSubset<?,?>,String> mapVarType(String typeName)
-
extractMetadata
public static Map.Entry<List<DataStructureComponent<?,?,?>>,Map<DataStructureComponent<?,?,?>,String>> extractMetadata(String[] headers)
-
-