Class RuleDecoratorHelper

java.lang.Object
ch.tocco.nice2.optional.drools.api.util.RuleDecoratorHelper

public class RuleDecoratorHelper extends Object
  • Method Details

    • readResourceContent

      public static String readResourceContent(org.kie.api.io.Resource resource) throws IOException
      Throws:
      IOException
    • readAndJoinAllLines

      public static String readAndJoinAllLines(Reader source) throws IOException
      Throws:
      IOException
    • createAdjustedResource

      public static org.kie.api.io.Resource createAdjustedResource(org.kie.api.io.Resource resource, String resourceContent)