Package pdfrobot.engine.parser

Examples of pdfrobot.engine.parser.SerializedFileRules


     * @throws IOException
     */
    public void start() throws IOException {
        init();

        List<PdfFileRule> rules = new SerializedFileRules().getRules();
        PdfFolderParser pdfFolderParser = new PdfFolderParser(index);

        for (PdfFileRule pdfFileRule : rules) {           
            File f;
            while( (f = pdfFolderParser.parseFile(pdfFileRule)) != null) {
View Full Code Here


        }
    }

    public List<PdfFileRule> getFileRules() {
        //return new PdfFileRules().getRules();
        return new SerializedFileRules().getRules();
    }
View Full Code Here

        return text;
    }

    public boolean savePdfRule(PdfFileRule rule) throws RuleAlreadyExistsException {
        //return new PdfFileRules().saveRule(line, pattern, folder);
        return new SerializedFileRules().saveRule(rule);
    }
View Full Code Here

    public void stopTimer() {
        executionTimer.cancel();
    }

    public void saveRules(List<PdfFileRule> ruleModel) {
        new SerializedFileRules().saveRules(ruleModel);
    }
View Full Code Here

        this.application = GuiManager.getInstance().getApplication();
        setFileList(application.getFileRules());
    }
   
    public void updateRules() {
        setFileList(new SerializedFileRules().getRules());
    }
View Full Code Here

TOP

Related Classes of pdfrobot.engine.parser.SerializedFileRules

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.