Examples of PdfFolderParser


Examples of pdfrobot.engine.parser.PdfFolderParser

     */
    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) {
                Logger.getLogger(Robot.class.getName()).log(Level.INFO, index+" - Moving file "+f.getName()+" to "+pdfFileRule.getDestinationSubFolder().getAbsolutePath());
                moveFile(f, pdfFileRule.getDestinationSubFolder());               
            }                       
        }
        callBack.done(index);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.