public final class DataWriterUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getRowValues(List<Column> columns,
Object[] row,
Locale locale,
Map<Integer,Format> columnFormatters)
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,
Map<Integer,Format> columnFormatters)
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,
Map<Integer,Format> columnFormatters)
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, Map<Integer,Format> columnFormatters) 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.columnFormatters - the map that stores (@link Column#id) column identifier and the formatter
for converting locale-sensitive values stored in this column into string.IOException - appears if the output into writer is impossible.public static List<String> getRowValues(List<Column> columns, Object[] row, Map<Integer,Format> columnFormatters) 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.columnFormatters - the map that stores (@link Column#id) column identifier and the formatter
for converting locale-sensitive values stored in this column into string.IOException - appears if the output into writer is impossible.public static String getValue(Column column, Object entry, Locale locale, Map<Integer,Format> columnFormatters) 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.columnFormatters - the map that stores (@link Column#id) column identifier and the formatter
for converting locale-sensitive values stored in this column into string.IOException - appears if the output into writer is impossible.Copyright © 2021. All rights reserved.