Class AbstractFileBasedDatasetPreparation<T>

    • Constructor Detail

      • AbstractFileBasedDatasetPreparation

        public AbstractFileBasedDatasetPreparation()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • accepts

        public abstract Class accepts()
        Returns the class that the preparation scheme accepts as input.
        Returns:
        the class
      • check

        protected String check​(T data)
        Hook method for checking the data.
        Default implementation just returns null.
        Parameters:
        data - the data to check
        Returns:
        null if succesful, otherwise error message
      • doPrepare

        protected abstract List<FileBasedDatasetContainer> doPrepare​(T data)
        Prepares the data.
        Parameters:
        data - the data to use
        Returns:
        the generated container(s)
      • prepare

        public List<FileBasedDatasetContainer> prepare​(T data)
        Prepares the data.
        Parameters:
        data - the data to use
        Returns:
        the generated container(s)