| Package | Description |
|---|---|
| de.gsi.dataset.utils |
| Modifier and Type | Method and Description |
|---|---|
static DataSetUtils.Compression |
DataSetUtils.Compression.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSetUtils.Compression[] |
DataSetUtils.Compression.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static DataSet |
DataSetUtils.readDataSetFromFile(String fileName,
DataSetUtils.Compression compression)
Read a Dataset from a file containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header. |
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName,
DataSetUtils.Compression compression)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
static String |
DataSetUtils.writeDataSetToFile(DataSet dataSet,
Path path,
String fileName,
DataSetUtils.Compression compression,
boolean binary)
Export the contents of the supplied dataSet to file as comma separated values with an additional comment header
containing metaData if existent.
The filename can contain placeholders of the form {metadatafield;type;format}, where metadatafield references a field in the metadata as specified by the metaDataDataSet interface. |
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.