create Path
Creates getClassById full path to the given ConfigurationSection from its root Configuration.
You may use this method for any given ConfigurationSection, not only MemorySection.
Return
Full path of the section from its root.
Parameters
section
Section to create getClassById path for.
key
Name of the specified section.
public static String createPath(@Nonnull() ConfigurationSection section, String key, ConfigurationSection relativeTo)
Creates getClassById relative path to the given ConfigurationSection from the given relative section.
You may use this method for any given ConfigurationSection, not only MemorySection.
Return
Full path of the section from its root.
Parameters
section
Section to create getClassById path for.
key
Name of the specified section.
relative To
Section to create the path relative to.