Beispiel #1
0
 public void AddPackageFromXml(System.IO.Stream xmlStream)
 {
     _javaPackageBuilder.addPackageFromXml(DroolsDotnetUtil.getJavaStringReaderFromSystemStream(xmlStream));
 }
Beispiel #2
0
 public void AddPackageFromDrl(string fileName, System.IO.Stream drlStream)
 {
     _javaPackageBuilder.addPackageFromDrl(fileName, DroolsDotnetUtil.getJavaStringReaderFromSystemStream(drlStream));
 }
Beispiel #3
0
 public void AddPackageFromDrl(System.IO.Stream drlStream, System.IO.Stream dslStream)
 {
     _javaPackageBuilder.addPackageFromDrl(DroolsDotnetUtil.getJavaStringReaderFromSystemStream(drlStream), DroolsDotnetUtil.getJavaStringReaderFromSystemStream(dslStream));
 }
Beispiel #4
0
 /**
  * Create a new RuleBase from the drl and dsl source.
  * Uses the current default engine type.
  */
 public RuleBase loadFromStream(Stream drl,
                                Stream dsl)
 {
     return(new RuleBase(_javaRuleBaseLoader.loadFromReader(
                             DroolsDotnetUtil.getJavaStringReaderFromSystemStream(drl), DroolsDotnetUtil.getJavaStringReaderFromSystemStream(dsl))));
 }