public class RuleSetLoader extends Object
| Constructor and Description |
|---|
RuleSetLoader() |
| Modifier and Type | Method and Description |
|---|---|
static FileInputStream |
getRuleSetAsFileStream(org.wso2.carbon.rule.common.Rule rule,
ClassLoader classLoader)
This method is used to get the rule set as a stream.
|
static InputStream |
getRuleSetAsStream(org.wso2.carbon.rule.common.Rule rule,
ClassLoader classLoader) |
public static InputStream getRuleSetAsStream(org.wso2.carbon.rule.common.Rule rule, ClassLoader classLoader) throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
org.wso2.carbon.rule.common.exception.RuleConfigurationExceptionpublic static FileInputStream getRuleSetAsFileStream(org.wso2.carbon.rule.common.Rule rule, ClassLoader classLoader) throws org.wso2.carbon.rule.common.exception.RuleConfigurationException
rule - - rule object which contains the rule source type and the valueclassLoader - - class loaderorg.wso2.carbon.rule.common.exception.RuleConfigurationException - - if there is a problem with the configurationCopyright © 2023 WSO2. All rights reserved.