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