public class HylaFaxJob extends AbstractFaxJob
FaxJob.FaxJobPriority
Constructor and Description |
---|
HylaFaxJob(gnu.hylafax.Job job)
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
File |
getFile()
This function returns the file to fax.
|
protected gnu.hylafax.Job |
getHylaFaxJob()
Returns the internal hylafax job.
|
String |
getID()
This function returns the fax job ID.
|
FaxJob.FaxJobPriority |
getPriority()
This function returns the priority.
|
String |
getProperty(String key,
String defaultValue)
This function returns the fax job property for the given key.
|
String |
getSenderEmail()
This function returns the fax job sender email address.
|
String |
getSenderFaxNumber()
This function returns the fax job sender fax number.
|
String |
getSenderName()
This function returns the fax job sender name.
|
String |
getTargetAddress()
This function returns the fax job target address.
|
String |
getTargetName()
This function returns the fax job target name.
|
void |
setFile(File file)
This function sets the file to fax.
|
void |
setID(String id)
This function sets the fax job ID.
|
void |
setPriority(FaxJob.FaxJobPriority priority)
This function sets the priority.
|
void |
setProperty(String key,
String value)
This function sets the fax job property.
|
void |
setSenderEmail(String senderEmail)
This function sets the fax job sender email address.
|
void |
setSenderFaxNumber(String senderFaxNumber)
This function sets the fax job sender fax number.
|
void |
setSenderName(String senderName)
This function sets the fax job sender name.
|
void |
setTargetAddress(String targetAddress)
This function sets the fax job target address.
|
void |
setTargetName(String targetName)
This function sets the fax job target name.
|
String |
toString()
This function returns the string value of the fax job.
|
addToStringAttributes, getFilePath, setFilePath
public HylaFaxJob(gnu.hylafax.Job job)
job
- The internal hylafax jobpublic String toString()
protected gnu.hylafax.Job getHylaFaxJob()
public String getID()
public void setID(String id)
id
- The fax job IDpublic File getFile()
public void setFile(File file)
file
- The file to faxpublic FaxJob.FaxJobPriority getPriority()
public void setPriority(FaxJob.FaxJobPriority priority)
priority
- The prioritypublic String getTargetAddress()
public void setTargetAddress(String targetAddress)
targetAddress
- The fax job target addresspublic String getTargetName()
public void setTargetName(String targetName)
targetName
- The fax job target namepublic String getSenderName()
public void setSenderName(String senderName)
senderName
- The fax job sender namepublic String getSenderFaxNumber()
public void setSenderFaxNumber(String senderFaxNumber)
senderFaxNumber
- The fax job sender fax numberpublic String getSenderEmail()
public void setSenderEmail(String senderEmail)
senderEmail
- The fax job sender email addresspublic void setProperty(String key, String value)
key
- The property keyvalue
- The property valueCopyright © 2009–2020 fax4j. All rights reserved.