Package ch.qos.cal10n.util
Class AbstractAnnotationExtractor
- java.lang.Object
-
- ch.qos.cal10n.util.AbstractAnnotationExtractor
-
- All Implemented Interfaces:
AnnotationExtractor
- Direct Known Subclasses:
AnnotationExtractorViaEnumClass
,AnnotationExtractorViaTypeElement
public abstract class AbstractAnnotationExtractor extends Object implements AnnotationExtractor
A base implementation which can extract cal10n annotation data from a yet unspecified "enumType" type, e.g. an enum class or an enum Element.- Since:
- 0.8
- Author:
- Ceki Gulcu
-
-
Constructor Summary
Constructors Constructor Description AbstractAnnotationExtractor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
extractCharset(Locale juLocale)
protected abstract LocaleData
extractLocaleData()
String[]
extractLocaleNames()
Locale[]
extractLocales()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.qos.cal10n.util.AnnotationExtractor
getBaseName
-
-
-
-
Method Detail
-
extractLocaleData
protected abstract LocaleData extractLocaleData()
-
extractLocales
public Locale[] extractLocales()
- Specified by:
extractLocales
in interfaceAnnotationExtractor
-
extractLocaleNames
public String[] extractLocaleNames()
- Specified by:
extractLocaleNames
in interfaceAnnotationExtractor
-
extractCharset
public String extractCharset(Locale juLocale)
- Specified by:
extractCharset
in interfaceAnnotationExtractor
-
-