Class ConfigurationOptions

    • Constructor Detail

      • ConfigurationOptions

        protected ConfigurationOptions​(@NotNull
                                       Configuration configuration)
    • Method Detail

      • configuration

        @NotNull
        public Configuration configuration()
        Returns the Configuration that this object is responsible for.
        Returns:
        Parent configuration
      • pathSeparator

        public char pathSeparator()
        Gets the char that will be used to separate ConfigurationSections

        This value does not affect how the Configuration is stored, only in how you access the data. The default value is '.'.

        Returns:
        Path separator
      • pathSeparator

        @NotNull
        public ConfigurationOptions pathSeparator​(char value)
        Sets the char that will be used to separate ConfigurationSections

        This value does not affect how the Configuration is stored, only in how you access the data. The default value is '.'.

        Parameters:
        value - Path separator
        Returns:
        This object, for chaining