public class MuPdfTransformThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected MuTransformationRequestContext |
ctx |
protected java.io.File |
fileToConvert |
protected int |
firstPage
A thread that will launch a new process to run the Ghostscript Command.
|
protected boolean |
forThumbnails |
protected int |
lastPage |
protected java.io.File |
outFile |
protected java.io.OutputStream |
output |
protected int |
outputHeight |
protected int |
outputWidth |
protected int |
resolution |
protected java.lang.String |
targetMimetype |
Constructor and Description |
---|
MuPdfTransformThread(int firstPage,
int lastPage,
int resolution,
int outputWidth,
int outputHeight,
java.io.File fileToConvert,
java.io.File tempOutputFile,
boolean forThumbnails,
java.io.OutputStream output,
java.lang.String targetMimetype,
MuTransformationRequestContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
protected int firstPage
protected int lastPage
protected int resolution
protected int outputWidth
protected int outputHeight
protected java.io.File fileToConvert
protected java.io.File outFile
protected boolean forThumbnails
protected java.io.OutputStream output
protected java.lang.String targetMimetype
protected MuTransformationRequestContext ctx
public MuPdfTransformThread(int firstPage, int lastPage, int resolution, int outputWidth, int outputHeight, java.io.File fileToConvert, java.io.File tempOutputFile, boolean forThumbnails, java.io.OutputStream output, java.lang.String targetMimetype, MuTransformationRequestContext ctx)