Package org.dashbuilder.dataprovider.csv
Interface CSVFileStorage
-
public interface CSVFileStorageInterface for getting access to CSV data set definition files
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)Deletes the CSV fileInputStreamgetCSVInputStream(org.dashbuilder.dataset.def.CSVDataSetDef def)Get an input stream for accessing the CSV file attached to the data set definitionStringgetCSVString(org.dashbuilder.dataset.def.CSVDataSetDef def)Get the CSV content attached to the data set definitionvoidsaveCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)Saves the CSV file
-
-
-
Method Detail
-
getCSVInputStream
InputStream getCSVInputStream(org.dashbuilder.dataset.def.CSVDataSetDef def)
Get an input stream for accessing the CSV file attached to the data set definition- Parameters:
def- The CSV data set definition- Returns:
- An input stream for getting the CSV content
-
getCSVString
String getCSVString(org.dashbuilder.dataset.def.CSVDataSetDef def)
Get the CSV content attached to the data set definition- Parameters:
def- The CSV data set definition- Returns:
- The CSV content
-
saveCSVFile
void saveCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)
Saves the CSV file- Parameters:
def- The CSV data set definition
-
deleteCSVFile
void deleteCSVFile(org.dashbuilder.dataset.def.CSVDataSetDef def)
Deletes the CSV file- Parameters:
def- The CSV data set definition
-
-