293031323334353637383940
} @Override public void run() { File in = this.getInFile(); PDFConverter converter = new PDFConverter(); try { converter.convert(in, this.getOutputPath(), splitPage, false); } catch (Exception e) { e.printStackTrace(); } }
6061626364656667686970
File pdf = file; if (pdfConverter == null) { queueLock.lock(); if (pdfConverter == null) { //PDFConverter.loadConfig(); pdfConverter = new PDFConverter(); } queueLock.unlock(); } queueLock.lock(); runningQueue.add(file);