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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationExtractor
public AbstractAnnotationExtractor()
extractLocaleData
protected abstract LocaleData extractLocaleData()
extractLocales
public Locale[] extractLocales()
- Specified by:
extractLocales
in interface AnnotationExtractor
extractLocaleNames
public String[] extractLocaleNames()
- Specified by:
extractLocaleNames
in interface AnnotationExtractor
extractCharset
public String extractCharset(Locale juLocale)
- Specified by:
extractCharset
in interface AnnotationExtractor
Copyright © 2009-2013 QOS.ch. All Rights Reserved.