Package org.ghost4j.modifier
Class SafeAppenderModifier
java.lang.Object
org.ghost4j.AbstractComponent
org.ghost4j.AbstractRemoteComponent
org.ghost4j.modifier.AbstractRemoteModifier
org.ghost4j.modifier.SafeAppenderModifier
- All Implemented Interfaces:
Component,Modifier,RemoteModifier
Safe appender : appends a document to another one. Document types can be
mixed (example: append PDF to PS). The modified document returned by the
modify method is always the same as the source document provided. The
parameter APPEND_DOCUMENT (the document to append to the source one) must be
passed to the modify method. Important : this appender is safe even for
PostScript document generated by diffrent softwares.
-
Field Summary
FieldsFields inherited from class org.ghost4j.AbstractRemoteComponent
maxProcessCount, processCountFields inherited from class org.ghost4j.AbstractComponent
supportedDocumentClasses -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ghost4j.modifier.AbstractRemoteModifier
modify, remoteModify, startRemoteModifierMethods inherited from class org.ghost4j.AbstractRemoteComponent
buildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcessMethods inherited from class org.ghost4j.AbstractComponent
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ghost4j.modifier.RemoteModifier
setMaxProcessCount
-
Field Details
-
PARAMETER_APPEND_DOCUMENT
- See Also:
-
-
Constructor Details
-
SafeAppenderModifier
public SafeAppenderModifier()
-
-
Method Details
-
main
Main method used to start the modifier in standalone 'slave mode'.- Parameters:
args-- Throws:
ModifierException
-
run
protected Document run(Document source, Map<String, Serializable> parameters) throws ModifierException, DocumentException, IOException- Specified by:
runin classAbstractRemoteModifier- Throws:
ModifierExceptionDocumentExceptionIOException
-