javax.print.attribute.standard
public final class JobKOctetsProcessed extends IntegerSyntax implements 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(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.
|
getValue, hashCode, toString
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 octetsIllegalArgumentException
- if value < 0public boolean equals(Object obj)
equals
in class IntegerSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
JobKOctetsProcessed
itself.