Interface CSVFileStorage


  • public interface CSVFileStorage
    Interface for getting access to CSV data set definition files
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteCSVFile​(org.dashbuilder.dataset.def.CSVDataSetDef def)
      Deletes the CSV file
      InputStream getCSVInputStream​(org.dashbuilder.dataset.def.CSVDataSetDef def)
      Get an input stream for accessing the CSV file attached to the data set definition
      String getCSVString​(org.dashbuilder.dataset.def.CSVDataSetDef def)
      Get the CSV content attached to the data set definition
      void saveCSVFile​(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