public class MacFaxClientSpi extends AbstractFax4JClientSpi
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mac.submit.command | The submit fax job command | lp | lp | false |
org.fax4j.spi.mac.print.queue.parameter | The print queue parameter | -d | -d | false |
org.fax4j.spi.mac.print.queue.name | The print queue name | none | none | true |
org.fax4j.spi.mac.general.parameters | The general parameters | -o | -o | false |
org.fax4j.spi.mac.phone.parameter | The phone parameter | phone | phone | false |
org.fax4j.spi.mac.fax.to.parameter | The fax to parameter | faxTo | faxTo | false |
Modifier and Type | Class and Description |
---|---|
static class |
MacFaxClientSpi.FaxClientSpiConfigurationConstants
This class holds the SPI configuration constants.
|
AbstractFaxClientSpi.FaxJobExtendedPropertyConstants
Constructor and Description |
---|
MacFaxClientSpi()
This is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ProcessOutputValidator |
createMacProcessOutputValidator()
This function creates and returns the process output validator.
|
protected String |
createSubmitFaxCommand(FaxJob faxJob)
Creates and returns the submit fax command.
|
protected ProcessExecutorHelper.ProcessOutput |
executeProcess(String command,
FaxActionType faxActionType)
This function executes the external command to send the fax.
|
protected void |
initializeImpl()
This function initializes the fax client SPI.
|
protected void |
submitFaxJobImpl(FaxJob faxJob)
This function will submit a new fax job.
The fax job ID may be populated by this method in the provided fax job object. |
cancelFaxJobImpl, getFaxJobStatusImpl, getProvider, isFaxMonitorEventsSupported, pollForFaxJobStatues, pollForFaxJobStatuesImpl, resumeFaxJobImpl, suspendFaxJobImpl
addFaxClientActionEventListener, addFaxMonitorEventListener, cancelFaxJob, createFaxJob, createFaxJobImpl, fireFaxEvent, fireFaxEvent, fireFaxMonitorEvent, getConfiguration, getConfigurationValue, getConfigurationValue, getFaxJobMonitor, getFaxJobStatus, getLogger, getPropertyPart, initialize, invokeFaxJobIDValidation, invokeFaxJobNullValidation, removeAllFaxClientActionEventListeners, removeAllFaxMonitorEventListeners, removeFaxClientActionEventListener, removeFaxMonitorEventListener, resumeFaxJob, submitFaxJob, suspendFaxJob, throwUnsupportedException
protected void initializeImpl()
initializeImpl
in class AbstractFaxClientSpi
protected ProcessOutputValidator createMacProcessOutputValidator()
protected void submitFaxJobImpl(FaxJob faxJob)
submitFaxJobImpl
in class AbstractFax4JClientSpi
faxJob
- The fax job object containing the needed informationprotected String createSubmitFaxCommand(FaxJob faxJob)
faxJob
- The fax job object containing the needed informationprotected ProcessExecutorHelper.ProcessOutput executeProcess(String command, FaxActionType faxActionType)
command
- The command to executefaxActionType
- The fax action typeCopyright © 2009–2020 fax4j. All rights reserved.