Class ConfigurationData
java.lang.Object
com.priint.pubserver.comet.bridge.ConfigurationData
The ConfigurationFile class wraps all the information required to process
(i/e/ generate, parse or simply store) Comet configuration files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Delegate.static enumThe enum File id.static enumThe enum File type. -
Method Summary
Modifier and TypeMethodDescriptionstatic final ConfigurationDataFind by id configuration data.getId()Gets id.Gets matcher.getRegex()Gets regex.getType()Gets type.static final CometBinary.TypeGets type by file id.final booleanfinal booleanmatchesOldVersion(String fileId) Matches boolean.static ConfigurationData.DelegateparsePluginDataId(String fileId) Parse plugin data id delegate.final StringtoString()
-
Method Details
-
findByID
Find by id configuration data.- Parameters:
id- the id- Returns:
- the configuration data
-
getTypeByFileID
Gets type by file id.- Parameters:
id- the id- Returns:
- the type by file id
-
parsePluginDataId
Parse plugin data id delegate.- Parameters:
fileId- the file id- Returns:
- the delegate
- Throws:
PubServerException- the pub server exception
-
getId
Gets id.- Returns:
- the id
-
getMatcher
Gets matcher.- Returns:
- the matcher
-
getRegex
Gets regex.- Returns:
- the regex
-
getType
Gets type.- Returns:
- the type
-
matchesOldVersion
Matches boolean.- Parameters:
fileId- the file id- Returns:
- the boolean
-
matches
-
toString
-