Package org.craftercms.search.locale
Interface LocaleExtractor
- All Known Implementing Classes:
DescriptorLocaleExtractor
public interface LocaleExtractor
Obtains the locale from a given file
- Since:
- 4.0.0
- Author:
- joseross
-
Method Summary
-
Method Details
-
extract
Extract the locale for the given file- Parameters:
context- the current contextpath- the path of the file- Returns:
- the locale
-