Class AbstractPropertyScanner
- java.lang.Object
-
- org.jabylon.properties.types.impl.AbstractPropertyScanner
-
- All Implemented Interfaces:
PropertyScanner
- Direct Known Subclasses:
JavaPropertyScanner
public abstract class AbstractPropertyScanner extends Object implements PropertyScanner
-
-
Field Summary
-
Fields inherited from interface org.jabylon.properties.types.PropertyScanner
TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTemplate(File propertyFile, String masterLocale)checks if the given file is a translation templatebooleanisTranslation(File propertyFile, ScanConfiguration config)checks if the given file is a translation fileprotected booleanmatchesLocale(Locale locale, String desiredLocale)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jabylon.properties.types.PropertyScanner
computeTranslationPath, createConverter, findTemplate, findTranslations, getDefaultExcludes, getDefaultIncludes, getEncoding, getLocale, isBilingual
-
-
-
-
Method Detail
-
isTemplate
public boolean isTemplate(File propertyFile, String masterLocale)
Description copied from interface:PropertyScannerchecks if the given file is a translation template- Specified by:
isTemplatein interfacePropertyScanner- Returns:
-
isTranslation
public boolean isTranslation(File propertyFile, ScanConfiguration config)
Description copied from interface:PropertyScannerchecks if the given file is a translation file- Specified by:
isTranslationin interfacePropertyScanner- Returns:
-
-