Interface TcConfigSection

    • Method Detail

      • hasChild

        boolean hasChild​(@NotNull
                         @NotNull String path)
        Checks if this section contains the given path and the given path is configuration section.
        Parameters:
        path - Path to child.
        Returns:
        True if this section contains this path and this path is configuration section.
      • getParent

        @Nullable
        @Nullable TcConfigSection getParent()
        Gets the section that contains this section.

        Returns null when this section is root.

        Returns:
        The section that contains this section.
      • getFullPath

        @NotNull
        @NotNull String getFullPath()
        Gets the path of this section.

        The path can be used in the root config to get this section.

        Returns:
        This section path.
      • getRoot

        @NotNull
        @NotNull TcConfig getRoot()
        Gets the root config that contains this section.
        Returns:
        The root config.