|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.DateTimeSyntax
javax.print.attribute.standard.JobHoldUntil
public final class JobHoldUntil
The JobHoldUntil
attribute specifies the date
and the time at which a print job must become a candidate
for printing.
IPP Compatibility: JobHoldUntil is an IPP 1.1 attribute. However the attribute in IPP is based on keywords of named time periods like day-time or evening. It will depend on the concrete implementation of a print service how a mapping of the detailed provided date and time of this attribute to the named keyword or an alternate extension attribute will be done. E.g. CUPS supports also a HH:MM format as extension to the keywords.
Constructor Summary | |
---|---|
JobHoldUntil(Date value)
Creates a JobHoldUntil object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object. |
Class<? extends Attribute> |
getCategory()
Returns category of this class. |
String |
getName()
Returns the name of this attribute. |
Methods inherited from class javax.print.attribute.DateTimeSyntax |
---|
getValue, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobHoldUntil(Date value)
JobHoldUntil
object.
value
- the date to hold the job until
NullPointerException
- if value is nullMethod Detail |
---|
public boolean equals(Object obj)
equals
in class DateTimeSyntax
obj
- the object to test
true
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobHoldUntil
itself.public String getName()
getName
in interface Attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |