public void load ( RulesDefinition . NewRepository repo , InputStream input , String encoding ) { load ( repo , input , Charset . forName ( encoding ) ) ; }
Loads rules by reading the XML input stream . The input stream is not always closed by the method so it should be handled by the caller .