Class AbstractConfigSource

    • Constructor Detail

      • AbstractConfigSource

        public AbstractConfigSource()
    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Specified by:
        toString in interface ConfigSource
        Overrides:
        toString in class java.lang.Object
      • getFile

        @Nullable
        public @Nullable java.io.File getFile​(@NotNull
                                              @NotNull ProjectSettings projectSettings,
                                              @NotNull
                                              @NotNull java.lang.String type,
                                              int index)
                                       throws java.io.IOException
        Description copied from interface: ConfigSource
        Returns a config file.
        Specified by:
        getFile in interface ConfigSource
        Parameters:
        projectSettings - the project settings to use
        type - the file type
        index - the file index, starting with 0
        Returns:
        the file or null if no more files are available
        Throws:
        java.io.IOException - if an error occurs