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 Summary
Fields Modifier and Type Field Description protected @NotNull java.io.Filefileprotected @Nullable java.lang.StringresourcePath-
Fields inherited from class cc.carm.lib.configuration.source.ConfigurationFactory
adapters, exceptionHandler, initializer, metadata, options
-
-
Constructor Summary
Constructors Constructor Description FileConfigFactory(@NotNull java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SELFfile(@NotNull java.io.File file)SELFfile(@NotNull java.io.File parent, @NotNull java.lang.String fileName)SELFfile(@NotNull java.nio.file.Path path)SELFresourcePath(@Nullable java.lang.String resourcePath)-
Methods inherited from class cc.carm.lib.configuration.source.ConfigurationFactory
adapter, adapter, adapter, adapter, adapter, adapter, adapter, adapter, adapters, build, exceptionally, initializer, initializer, metaAnnotation, metadata, metadata, metadata, metadata, option, option, option, option, options, pathGenerator, self, validAnnotation
-
-
-
-
Method Detail
-
file
public SELF file(@NotNull @NotNull java.io.File file)
-
file
public SELF file(@NotNull @NotNull java.nio.file.Path path)
-
file
public SELF file(@NotNull @NotNull java.io.File parent, @NotNull @NotNull java.lang.String fileName)
-
resourcePath
public SELF resourcePath(@Nullable @Nullable java.lang.String resourcePath)
-
-