ch.qos.cal10n.util
Class AnnotationExtractorBase

java.lang.Object
  extended by ch.qos.cal10n.util.AnnotationExtractorBase
All Implemented Interfaces:
IAnnotationExtractor
Direct Known Subclasses:
AnnotationExtractor, TypeElementAnnotationExtractor

public abstract class AnnotationExtractorBase
extends Object
implements IAnnotationExtractor

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
AnnotationExtractorBase()
           
 
Method Summary
 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.IAnnotationExtractor
getBaseName
 

Constructor Detail

AnnotationExtractorBase

public AnnotationExtractorBase()
Method Detail

extractLocaleData

protected abstract LocaleData extractLocaleData()

extractLocales

public Locale[] extractLocales()
Specified by:
extractLocales in interface IAnnotationExtractor

extractLocaleNames

public String[] extractLocaleNames()
Specified by:
extractLocaleNames in interface IAnnotationExtractor

extractCharset

public String extractCharset(Locale juLocale)
Specified by:
extractCharset in interface IAnnotationExtractor


Copyright © 2009-2013 QOS.ch. All Rights Reserved.