public final class DataWriterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getRowValues(List<Column> columns,
Object[] row)
The method to convert the Objects array that stores data from the sas7bdat file to list of string.
|
static List<String> |
getRowValues(List<Column> columns,
Object[] row,
Locale locale)
The method to convert the Objects array that stores data from the sas7bdat file to list of string.
|
static String |
getValue(Column column,
Object entry,
Locale locale)
The method to convert the Object that stores data from the sas7bdat file cell to string.
|
public static List<String> getRowValues(List<Column> columns, Object[] row, Locale locale) throws IOException
columns - the Column class variables list that stores columns
description from the sas7bdat file.row - the Objects arrays that stores data from the sas7bdat file.locale - the locale for parsing date elements.IOException - appears if the output into writer is impossible.public static List<String> getRowValues(List<Column> columns, Object[] row) throws IOException
columns - the Column class variables list that stores columns
description from the sas7bdat file.row - the Objects arrays that stores data from the sas7bdat file.IOException - appears if the output into writer is impossible.public static String getValue(Column column, Object entry, Locale locale) throws IOException
column - the Column class variable that stores current processing column.entry - the Object that stores data from the cell of sas7bdat file.locale - the locale for parsing date elements.IOException - appears if the output into writer is impossible.Copyright © 2018. All rights reserved.