Class ConfigurationData

java.lang.Object
com.priint.pubserver.comet.bridge.ConfigurationData

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

    • findByID

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

      public static final CometBinary.Type getTypeByFileID(ConfigurationData.FileID id)
      Gets type by file id.
      Parameters:
      id - the id
      Returns:
      the type by file id
    • parsePluginDataId

      public static ConfigurationData.Delegate parsePluginDataId(String fileId) throws PubServerException
      Parse plugin data id delegate.
      Parameters:
      fileId - the file id
      Returns:
      the delegate
      Throws:
      PubServerException - the pub server exception
    • getId

      public ConfigurationData.FileID getId()
      Gets id.
      Returns:
      the id
    • getMatcher

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

      public String getRegex()
      Gets regex.
      Returns:
      the regex
    • getType

      public ConfigurationData.FileType getType()
      Gets type.
      Returns:
      the type
    • matchesOldVersion

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

      public final boolean matches(String fileId)
    • toString

      public final String toString()
      Overrides:
      toString in class Object