List of usage examples for org.apache.solr.util PropertiesUtil substituteProperty
public static String substituteProperty(String value, Properties coreProperties)
From source file:peltomaa.sukija.malaga.MalagaMorphologySuggestionFilterFactory.java
License:Open Source License
/** Create a new MalagaMorphologySuggestionFilterFactory. *//*from www .j a va 2 s .c om*/ public MalagaMorphologySuggestionFilterFactory(Map<String, String> args) { super(args); malagaProjectFile = PropertiesUtil.substituteProperty("malagaProjectFile", null); suggestionFile = PropertiesUtil.substituteProperty("suggestionFile", null); success = getBoolean(args, "success", false); }
From source file:peltomaa.sukija.voikko.VoikkoMorphologySuggestionFilterFactory.java
License:Open Source License
private String getValue(Map<String, String> args, String name) { return PropertiesUtil.substituteProperty(get(args, name), null); }