Uses of Class
de.gsi.dataset.utils.DataSetUtils.Compression
-
Packages that use DataSetUtils.Compression Package Description de.gsi.dataset.utils -
-
Uses of DataSetUtils.Compression in de.gsi.dataset.utils
Methods in de.gsi.dataset.utils that return DataSetUtils.Compression Modifier and Type Method Description static DataSetUtils.CompressionDataSetUtils.Compression. valueOf(java.lang.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.Methods in de.gsi.dataset.utils with parameters of type DataSetUtils.Compression Modifier and Type Method Description static DataSetDataSetUtils. readDataSetFromFile(java.lang.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 java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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 java.lang.StringDataSetUtils. writeDataSetToFile(DataSet dataSet, java.nio.file.Path path, java.lang.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.
-