Class ConfigurationData


  • public class ConfigurationData
    extends java.lang.Object
    The ConfigurationFile class wraps all the information required to process (i/e/ generate, parse or simply store) Comet configuration files.
    • Method Detail

      • findByID

        public static final ConfigurationData findByID​(java.lang.String id)
        Find by id configuration data.
        Parameters:
        id - the id
        Returns:
        the configuration data
      • getMatcher

        public java.util.regex.Matcher getMatcher()
        Gets matcher.
        Returns:
        the matcher
      • getRegex

        public java.lang.String getRegex()
        Gets regex.
        Returns:
        the regex
      • matchesOldVersion

        public final boolean matchesOldVersion​(java.lang.String fileId)
        Matches boolean.
        Parameters:
        fileId - the file id
        Returns:
        the boolean
      • matches

        public final boolean matches​(java.lang.String fileId)
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object