Package com.dtrules.compiler.excel.util

Examples of com.dtrules.compiler.excel.util.Rules2Excel


            RulesDirectory    rd    = new RulesDirectory(getPath(),getRulesDirectoryFile());
            RuleSet           rs    = rd.getRuleSet(getRuleSetName());
            IRSession         s     = rs.newSession();
            RulesAdminService admin = new RulesAdminService(s);
           
            Rules2Excel r2e = new Rules2Excel();
           
            r2e.writeExcel(admin, rs, tables, fields, ascending, limit);
           
        } catch (Exception e) {
            throw new RuntimeException(e.toString());
        }
    }
View Full Code Here


            RulesDirectory    rd    = new RulesDirectory(getPath(),getRulesDirectoryFile());
            RuleSet           rs    = rd.getRuleSet(getRuleSetName());
            IRSession         s     = rs.newSession();
            RulesAdminService admin = new RulesAdminService(s);
           
            Rules2Excel r2e = new Rules2Excel(false);
           
            r2e.writeExcel(admin, rs, tables, fields, ascending, limit);
           
            r2e = new Rules2Excel(true);
           
            r2e.writeExcel(admin, rs, "balanced_"+tables, fields, ascending, limit);
           
        } catch (Exception e) {
            throw new RuntimeException(e.toString());
        }
    }
View Full Code Here

            RulesDirectory    rd    = new RulesDirectory(getPath(),getRulesDirectoryFile());
            RuleSet           rs    = rd.getRuleSet(getRuleSetName());
            IRSession         s     = rs.newSession();
            RulesAdminService admin = new RulesAdminService(s);
           
            Rules2Excel r2e = new Rules2Excel();
           
            r2e.writeExcel(admin, rs, tables, fields, ascending, limit);
           
        } catch (Exception e) {
            throw new RuntimeException(e.toString());
        }
    }
View Full Code Here

TOP

Related Classes of com.dtrules.compiler.excel.util.Rules2Excel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.