Class FileConfigFactory<SOURCE extends FileConfigSource<?,?,SOURCE>,HOLDER extends ConfigurationHolder<SOURCE>,SELF extends FileConfigFactory<SOURCE,HOLDER,SELF>>

java.lang.Object
cc.carm.lib.configuration.source.ConfigurationFactory<SOURCE,HOLDER,SELF>
cc.carm.lib.configuration.source.file.FileConfigFactory<SOURCE,HOLDER,SELF>
Direct Known Subclasses:
JSONConfigFactory

public abstract class FileConfigFactory<SOURCE extends FileConfigSource<?,?,SOURCE>,HOLDER extends ConfigurationHolder<SOURCE>,SELF extends FileConfigFactory<SOURCE,HOLDER,SELF>> extends ConfigurationFactory<SOURCE,HOLDER,SELF>
  • Field Details

    • file

      @NotNull protected @NotNull File file
    • resourcePath

      @Nullable protected @Nullable String resourcePath
  • Constructor Details

    • FileConfigFactory

      public FileConfigFactory(@NotNull @NotNull File file)
  • Method Details

    • file

      public SELF file(@NotNull @NotNull File file)
    • file

      public SELF file(@NotNull @NotNull Path path)
    • file

      public SELF file(@NotNull @NotNull File parent, @NotNull @NotNull String fileName)
    • resourcePath

      public SELF resourcePath(@Nullable @Nullable String resourcePath)