Class SpreadSheetContainer

    • Field Detail

      • m_Source

        protected File m_Source
        the source.
    • Constructor Detail

      • SpreadSheetContainer

        public SpreadSheetContainer​(SpreadSheetReader reader,
                                    File source)
        Loads the data using the specified reader.
        Parameters:
        reader - the reader to use
        source - the file to load
      • SpreadSheetContainer

        public SpreadSheetContainer​(SpreadSheetReader reader,
                                    PlaceholderFile source)
        Loads the data using the specified reader.
        Parameters:
        reader - the reader to use
        source - the file to load
    • Method Detail

      • getSource

        public String getSource()
        Returns the source of the data item.
        Returns:
        the source
      • canReload

        public boolean canReload()
        Whether it is possible to reload this item.
        Returns:
        true if reloadable
      • doReload

        protected String doReload()
        Reloads the data.
        Specified by:
        doReload in class AbstractDataContainer
        Returns:
        null if successfully reloaded, otherwise error message