org.simoes.lpd.util
Class QueuedPrintJobInfo
java.lang.Object
org.simoes.lpd.util.QueuedPrintJobInfo
- public class QueuedPrintJobInfo
- extends java.lang.Object
Encapsulates the PrintJob that is stored in the Queue.
A copy of the actual stored PrintJob is returned. This class
makes it easy to expose more attibutes of the Print Job
as necessary.
- Author:
- Jason Crowe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueuedPrintJobInfo
public QueuedPrintJobInfo(QueuedObject queuedObject)
- constructor.
- Parameters:
queuedObject
- - a queued print job.
- Throws:
java.lang.ClassCastException
- if the queueObject isn't a queue print job.
getId
public long getId()
getTimeStamp
public java.util.Date getTimeStamp()
getSize
public int getSize()
getName
public java.lang.String getName()
getOwner
public java.lang.String getOwner()
singleLine
public static java.lang.String singleLine(QueuedPrintJobInfo o)
getShortDescription
public java.lang.String getShortDescription()
getLongDescription
public java.lang.String getLongDescription()
toString
public java.lang.String toString()