Package com.priint.pubserver.util
Class ColorUtils
java.lang.Object
com.priint.pubserver.util.ColorUtils
Class with utilities connected to Comet Colors
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CometColorsMethod to get the Comet Colors both from the standard and custom configprotected CometColorsprotected CometColorsprotected Class<CometColors>protected CometColorsgetConfigMergedWithCustom(String configFolder, String configName)
-
Field Details
-
CUSTOM_CONFIG_NAME_PREFIX
Prefix for the custom config files.- See Also:
-
-
Method Details
-
getColors
Method to get the Comet Colors both from the standard and custom config- Returns:
- returns merged Comet colors from the config and custom config
- Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfigClass
-
getConfigMergedWithCustom
protected CometColors getConfigMergedWithCustom(String configFolder, String configName) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfig
protected CometColors getConfig(String configFolder, String configName) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfig
protected CometColors getConfig(String configPath) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-