public class DatasetFactory
extends java.lang.Object
| Constructor and Description |
|---|
DatasetFactory() |
| Modifier and Type | Method and Description |
|---|---|
DatasetCollection |
createDatasetCollection()
Creates a dataset collection
|
FileDataset |
createFileDataset(java.lang.String datasetIdentifier,
java.lang.String datasetDescription)
Creates a file dataset based on the specified arguments.
|
FileAccess |
createLegacyFileDataset(java.lang.String datasetIdentifier,
java.lang.String datasetDescription)
Deprecated.
|
StreamDataset |
createStreamDataset(java.lang.String datasetIdentifier,
java.lang.String datasetDescription)
Creates a streaming dataset based on the specified arguments.
|
StreamingAccess |
createStreamingDataset(java.lang.String datasetIdentifier,
java.lang.String datasetDescription)
Deprecated.
|
Dataset |
getDataset(FormatReader mFormat)
Reconstructs the dataset from a set of bytes
|
DatasetCollection |
getDatasetCollection(FormatReader mFormat)
Reconstruct the dataset collection from a byte[].
|
static DatasetFactory |
getInstance()
Deprecated.
|
@Deprecated public static DatasetFactory getInstance()
public DatasetCollection createDatasetCollection()
public DatasetCollection getDatasetCollection(FormatReader mFormat) throws DatasetException
marshalledBytes - The byte[] representation of the datasetDatasetException - If the are problems reconstructing the dataset.public StreamDataset createStreamDataset(java.lang.String datasetIdentifier, java.lang.String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the streaming dataset.public FileDataset createFileDataset(java.lang.String datasetIdentifier, java.lang.String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the file dataset.@Deprecated public StreamingAccess createStreamingDataset(java.lang.String datasetIdentifier, java.lang.String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the streaming dataset.@Deprecated public FileAccess createLegacyFileDataset(java.lang.String datasetIdentifier, java.lang.String datasetDescription)
datasetIdentifier - The identifier for the dataset.datasetDescription - The description of the dataset.DatasetException - If there are problems creating the file dataset.public Dataset getDataset(FormatReader mFormat) throws DatasetException
datasetBytes - The byte[] representation of the dataset.DatasetException - If there are problems in reconstructing the dataset