Class PageToImageNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.documentplatform.PageToImageNode
-
public class PageToImageNode extends Node
This worker converts the pages of a document into images defined by the target image format.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PageToImageNode.Format
Available image target formats.-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description PageToImageNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColorModel()
float
getCompressionQuality()
Dimension
getMaximumSize()
PageToImageNode.Format
getTargetFormatName()
String
getWorkerClassName()
Maps the current node to the corresponding worker class.void
setColorModel(int colorModel)
void
setCompressionQuality(float compressionQuality)
void
setMaximumSize(Dimension maximumSize)
Define the maximum bounds that the image can adjust to.void
setTargetFormatName(PageToImageNode.Format targetFormatName)
-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Maps the current node to the corresponding worker class.- Overrides:
getWorkerClassName
in classNode
- Returns:
- a string representation of the canonical worker class name.
-
getTargetFormatName
public PageToImageNode.Format getTargetFormatName()
-
setTargetFormatName
public void setTargetFormatName(PageToImageNode.Format targetFormatName)
-
getMaximumSize
public Dimension getMaximumSize()
-
setMaximumSize
public void setMaximumSize(Dimension maximumSize)
Define the maximum bounds that the image can adjust to.- Parameters:
maximumSize
- the maximum bounds that the image can adjust to. If not set the image bounds are not limited.
-
setColorModel
public void setColorModel(int colorModel)
-
getColorModel
public int getColorModel()
-
getCompressionQuality
public float getCompressionQuality()
-
setCompressionQuality
public void setCompressionQuality(float compressionQuality)
-
-