public class OperatorUtil extends Object
Constructor and Description |
---|
OperatorUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Operator> |
loadOperators(com.google.common.io.InputSupplier<? extends InputStream> featureInputSupplier)
Reads a feature set in an XML format as follows:
|
static Map<String,Operator> |
parseOperators(String featurePath)
Loads and tokenizes a set of features
|
public static Map<String,Operator> loadOperators(com.google.common.io.InputSupplier<? extends InputStream> featureInputSupplier) throws ParserConfigurationException, SAXException, IOException, Exception
featureInputSupplier
- An input supplier that provides the feature descriptionsParserConfigurationException
SAXException
IOException
Exception