public class JavaPropertyScanner extends Object implements PropertyScanner
| Constructor and Description |
|---|
JavaPropertyScanner() |
| Modifier and Type | Method and Description |
|---|---|
File |
computeTranslationPath(File template,
Locale templateLocale,
Locale translationLocale) |
File |
findTemplate(File propertyFile,
ScanConfiguration config) |
Map<Locale,File> |
findTranslations(File template,
ScanConfiguration config) |
Locale |
getLocale(File propertyFile) |
boolean |
isTemplate(File propertyFile,
ScanConfiguration config) |
boolean |
isTranslation(File propertyFile,
ScanConfiguration config) |
public boolean isTemplate(File propertyFile, ScanConfiguration config)
isTemplate in interface PropertyScannerpublic boolean isTranslation(File propertyFile, ScanConfiguration config)
isTranslation in interface PropertyScannerpublic File findTemplate(File propertyFile, ScanConfiguration config)
findTemplate in interface PropertyScannerpublic Locale getLocale(File propertyFile)
getLocale in interface PropertyScannerpublic Map<Locale,File> findTranslations(File template, ScanConfiguration config)
findTranslations in interface PropertyScannerpublic File computeTranslationPath(File template, Locale templateLocale, Locale translationLocale)
computeTranslationPath in interface PropertyScannerCopyright © 2013–2014 Jabylon. All rights reserved.