@Service public class TranslationOverrider extends Object
| Constructor and Description |
|---|
TranslationOverrider() |
| Modifier and Type | Method and Description |
|---|---|
<T> Predicate<T> |
distinctByKey(Function<? super T,?> keyExtractor) |
Predicate<Property> |
isNotBlank() |
com.google.common.collect.Multimap<String,String> |
loadPropertiesMap(File propertiesFile) |
List<Property> |
overrideTranslations(List<Property> properties,
File bundle,
Boolean packageWasUpdated,
Map<String,String> additionalTranslations) |
public List<Property> overrideTranslations(List<Property> properties, File bundle, Boolean packageWasUpdated, Map<String,String> additionalTranslations) throws IOException
IOExceptionpublic com.google.common.collect.Multimap<String,String> loadPropertiesMap(File propertiesFile) throws IOException
IOExceptionCopyright © 2019 Suncode. All rights reserved.