public class CSVDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<CSVDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static String |
DATEPATTERN |
static String |
ESCAPECHAR |
static String |
FILEPATH |
static String |
FILEURL |
static CSVDefJSONMarshaller |
INSTANCE |
static String |
NUMBERPATTERN |
static String |
QUOTECHAR |
static String |
SEPARATORCHAR |
| Constructor and Description |
|---|
CSVDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(CSVDataSetDef def,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
String |
parseCodePoint(String codePoint) |
void |
toJson(CSVDataSetDef dataSetDef,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
public static CSVDefJSONMarshaller INSTANCE
public static final String FILEURL
public static final String FILEPATH
public static final String SEPARATORCHAR
public static final String QUOTECHAR
public static final String ESCAPECHAR
public static final String DATEPATTERN
public static final String NUMBERPATTERN
public void fromJson(CSVDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<CSVDataSetDef>public void toJson(CSVDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<CSVDataSetDef>Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.