Class FileConfigProvider<W extends ConfigurationWrapper<?>>

    • Field Detail

      • file

        @NotNull
        protected final @NotNull java.io.File file
    • Constructor Detail

      • FileConfigProvider

        protected FileConfigProvider​(@NotNull
                                     @NotNull java.io.File file)
    • Method Detail

      • getFile

        @NotNull
        public @NotNull java.io.File getFile()
      • initializeFile

        public void initializeFile​(@Nullable
                                   @Nullable java.lang.String sourcePath)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • saveResource

        public void saveResource​(@NotNull
                                 @NotNull java.lang.String resourcePath,
                                 boolean replace)
                          throws java.io.IOException,
                                 java.lang.IllegalArgumentException
        Throws:
        java.io.IOException
        java.lang.IllegalArgumentException
      • getResource

        @Nullable
        public @Nullable java.io.InputStream getResource​(@NotNull
                                                         @NotNull java.lang.String filename)