Package generic.theme
Class AbstractThemeReader
java.lang.Object
generic.theme.AbstractThemeReader
- Direct Known Subclasses:
ThemePropertyFileReader
Abstract base class for reading theme values either in sections (theme property files) or no
sections (theme files)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
Represents all the value found in a section of the theme properties file. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Returns a list of errors found while parsingprotected void
outputError
(String msg) protected abstract void
protected abstract void
protected abstract void
protected abstract void
protected void
processValues
(GThemeValueMap valueMap, AbstractThemeReader.Section section) protected void
-
Field Details
-
source
-
-
Constructor Details
-
AbstractThemeReader
-
-
Method Details
-
getErrors
Returns a list of errors found while parsing- Returns:
- a list of errors found while parsing
-
read
- Throws:
IOException
-
processNoSection
- Throws:
IOException
-
processDefaultSection
protected abstract void processDefaultSection(AbstractThemeReader.Section section) throws IOException - Throws:
IOException
-
processDarkDefaultSection
protected abstract void processDarkDefaultSection(AbstractThemeReader.Section section) throws IOException - Throws:
IOException
-
processCustomSection
protected abstract void processCustomSection(AbstractThemeReader.Section section) throws IOException - Throws:
IOException
-
processValues
-
error
-
outputError
-