Interface SpaceSystemLoader

    • Method Detail

      • loadList

        default List<SpaceSystem> loadList()
                                    throws DatabaseLoadException
        Loads a list of SpaceSystems.

        They will be added to the parent in the order in which they appear in the list.

        By default this method calls the load() and returns a list with one element.

        Returns:
        - the list of
        Throws:
        DatabaseLoadException
      • getConfigName

        String getConfigName()
                      throws ConfigurationException
        The filename used to save the database after all the loaders have loaded it, is based on a concatenation of the config names returned by the loaders. Thus if a loader can have multiple versions of the database, they should be saved in multiple files.
        Returns:
        a string to be used as the filename where the serialised instance will be stored.
        Throws:
        ConfigurationException - in case some of the configuration properties do not exist
      • writeConsistencyDate

        void writeConsistencyDate​(FileWriter consistencyDateFile)
                           throws IOException
        Parameters:
        consistencyDateFile - the file in which the consistency date should be written
        Throws:
        IOException - if the consistency date file can't be written for some reason