ConfigCollections.java 617 B

12345678910111213141516171819
  1. package com.gmail.nossr50.config;
  2. import java.io.File;
  3. /**
  4. * Represents a config file that registers keys after its initialized
  5. */
  6. public abstract class ConfigCollections extends Config implements RegistersKeys, ConfigCollection {
  7. public ConfigCollections(String pathToParentFolder, String relativePath, boolean mergeNewKeys) {
  8. super(pathToParentFolder, relativePath, mergeNewKeys);
  9. loadKeys();
  10. }
  11. public ConfigCollections(File pathToParentFolder, String relativePath, boolean mergeNewKeys) {
  12. super(pathToParentFolder, relativePath, mergeNewKeys);
  13. loadKeys();
  14. }
  15. }