Class RuleDecoratorHelper
java.lang.Object
ch.tocco.nice2.optional.drools.api.util.RuleDecoratorHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.kie.api.io.Resource
createAdjustedResource
(org.kie.api.io.Resource resource, String resourceContent) static String
readAndJoinAllLines
(Reader source) static String
readResourceContent
(org.kie.api.io.Resource resource)
-
Method Details
-
readResourceContent
- Throws:
IOException
-
readAndJoinAllLines
- Throws:
IOException
-
createAdjustedResource
public static org.kie.api.io.Resource createAdjustedResource(org.kie.api.io.Resource resource, String resourceContent)
-