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
Nested ClassesModifier and TypeClassDescriptionprotected classRepresents all the value found in a section of the theme properties file. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidReturns a list of errors found while parsingprotected voidoutputError(String msg) protected abstract voidprotected abstract voidprotected abstract voidprotected abstract voidprotected voidprocessValues(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
-