public final class JobKOctetsProcessed extends javax.print.attribute.IntegerSyntax implements javax.print.attribute.PrintJobAttribute
JobKOctetsProcessed printing attribute reports
the total number of octets already processed in K octets units.
The supplied value will be rounded up to the next highest K octets. This attribute will not include a multiplication factor from the number of copies.
This attribute belongs to a group of job progress attributes which are reporting on the progress of a print job.
IPP Compatibility: JobKOctetsProcessed is an IPP 1.1 attribute.
| Constructor and Description |
|---|
JobKOctetsProcessed(int value)
Creates a
JobKOctetsProcessed object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public JobKOctetsProcessed(int value)
JobKOctetsProcessed object.
The value is in units of K (1024) octets rounded up to the next highest K.value - the number of processed K octetsjava.lang.IllegalArgumentException - if value < 0public boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributeJobKOctetsProcessed itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute