Mercurial > hg > digilib-old
comparison servlet/src/digilib/pdf/PDFFileWorker.java @ 570:fd2ef7e46119
more cleanup, set version to 1.8.2
author | robcast |
---|---|
date | Tue, 21 Dec 2010 20:24:09 +0100 |
parents | 0885f5ca5b24 |
children | 72662bb585ba |
comparison
equal
deleted
inserted
replaced
569:1f666c2b4578 | 570:fd2ef7e46119 |
---|---|
43 OutputStream outstream = new FileOutputStream(tempFile); | 43 OutputStream outstream = new FileOutputStream(tempFile); |
44 this.finalFile = finalFile; | 44 this.finalFile = finalFile; |
45 this.streamWorker = new PDFStreamWorker(dlConfig, outstream, job_info, imageJobCenter); | 45 this.streamWorker = new PDFStreamWorker(dlConfig, outstream, job_info, imageJobCenter); |
46 } | 46 } |
47 | 47 |
48 @Override | |
49 public File call() throws Exception { | 48 public File call() throws Exception { |
50 OutputStream outstream = streamWorker.call(); | 49 OutputStream outstream = streamWorker.call(); |
51 outstream.flush(); | 50 outstream.flush(); |
52 // move temporary to final file | 51 // move temporary to final file |
53 tempFile.renameTo(finalFile); | 52 tempFile.renameTo(finalFile); |