public class CSVExporter
extends java.lang.Object
| Constructor and Description |
|---|
CSVExporter() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
toCSVString(java.lang.String[] pHeaders,
java.util.List<java.lang.String[]> pValues)
Converts the given headers and values into a CSV string.
|
static java.lang.String |
toCSVString(java.lang.String[] pHeaders,
java.lang.String[][] pValues)
Converts the given headers and values into a CSV string.
|
public static java.lang.String toCSVString(java.lang.String[] pHeaders,
java.lang.String[][] pValues)
pHeaders - the headerspValues - the values: [line][values]java.lang.IllegalArgumentException - if the length of headers and all value arrays is not equal.public static java.lang.String toCSVString(java.lang.String[] pHeaders,
java.util.List<java.lang.String[]> pValues)
pHeaders - the headerspValues - the values. Each string array represents a value line.java.lang.IllegalArgumentException - if the length of headers and all value arrays is not equal.Copyright © 2015 Micro Focus GmbH. All rights reserved.