Example usage for org.apache.solr.util PropertiesUtil substituteProperty

List of usage examples for org.apache.solr.util PropertiesUtil substituteProperty

Introduction

In this page you can find the example usage for org.apache.solr.util PropertiesUtil substituteProperty.

Prototype

public static String substituteProperty(String value, Properties coreProperties) 

Source Link

Usage

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);
    }