Package de.xima.fc.web.common.utils
Class DataSourceUtils
- java.lang.Object
-
- de.xima.fc.web.common.utils.DataSourceUtils
-
public class DataSourceUtils extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_FIRST_ROW_HEADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCSVParameterString(boolean firstRowIsHeader)
Puts the given parameters in a JSON string and returns itstatic boolean
getFirstRowIsHeader(String jsonString)
Gets the parameter that determines whether the first line of the CSV data should be interpreted as header.
-
-
-
Field Detail
-
PARAM_FIRST_ROW_HEADER
public static final String PARAM_FIRST_ROW_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCSVParameterString
public static final String getCSVParameterString(boolean firstRowIsHeader)
Puts the given parameters in a JSON string and returns it
-
getFirstRowIsHeader
public static final boolean getFirstRowIsHeader(String jsonString)
Gets the parameter that determines whether the first line of the CSV data should be interpreted as header. (This should be updated to return an object if more parameters are supposed to be stored inside the parameter string)
-
-