- java.lang.Object
-
- xyz.tozymc.configuration.option.TcConfigOptions
-
- Direct Known Subclasses:
FileConfigOptions
public abstract class TcConfigOptions extends Object
Various options forTcConfig.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static charDEFAULT_PATH_SEPARATORDefaults path separator use in configuration.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTcConfigOptions(@NotNull TcConfig config)Creates newTcConfigOptionsforTcConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TcConfigconfig()Returns theTcConfigthat owned this options.charpathSeparator()Gets the char that will be used to separate inTcConfigSection, default is "46".@NotNull TcConfigOptionspathSeparator(char separator)Sets the char that will be used to separate inTcConfigSection.
-
-
-
Field Detail
-
DEFAULT_PATH_SEPARATOR
public static final char DEFAULT_PATH_SEPARATOR
Defaults path separator use in configuration.- See Also:
- Constant Field Values
-
-
Method Detail
-
pathSeparator
public char pathSeparator()
Gets the char that will be used to separate inTcConfigSection, default is "46".- Returns:
- Path separator.
-
pathSeparator
@NotNull public @NotNull TcConfigOptions pathSeparator(char separator)
Sets the char that will be used to separate inTcConfigSection.- Parameters:
separator- Path separator.- Returns:
- This object, for chaining.
-
-