org.simoes.lpd.common
Class PrintJob

java.lang.Object
  extended byorg.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

Constructor Summary
PrintJob(ControlFile cf, DataFile df)
          Constructor requires a ControlFile and a DataFile.
 
Method Summary
 java.lang.Object clone()
           
 ControlFile getControlFile()
           
 DataFile getDataFile()
           
 java.lang.String getName()
           
 java.lang.String getOwner()
           
 int getSize()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrintJob

public PrintJob(ControlFile cf,
                DataFile df)
         throws LPDException
Constructor requires a ControlFile and a DataFile.

Parameters:
cf -
df -
Throws:
LPDException
Method Detail

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()

toString

public java.lang.String toString()