org.simoes.lpd.common
Class PrintJob
java.lang.Object
|
+--org.simoes.lpd.common.PrintJob
- All Implemented Interfaces:
- java.lang.Cloneable
- public class PrintJob
- extends java.lang.Object
- implements java.lang.Cloneable
Represents any print jobs sent to us. It holds the ControlFile
and the DataFile that make up the print job. Convience methods
are also provided to get commonly used information such as jobName.
- Author:
- Chris Simoes
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PrintJob
public PrintJob(ControlFile cf,
DataFile df)
throws LPDException
- Constructor requires a ControlFile and a DataFile.
- Parameters:
cf - df -
- Throws:
LPDException
getName
public java.lang.String getName()
getSize
public int getSize()
getOwner
public java.lang.String getOwner()
getControlFile
public ControlFile getControlFile()
getDataFile
public DataFile getDataFile()
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object