Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class PrinterUpTime  view PrinterUpTime download

  extended byjavax.print.attribute.IntegerSyntax
      extended bygnu.javax.print.ipp.attribute.printer.PrinterUpTime
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable,

public final class PrinterUpTime
extends javax.print.attribute.IntegerSyntax
implements javax.print.attribute.Attribute

PrinterUpTime attribute as described in RFC 2911 section 4.4.29 provides the uptime of the printer object. This is a value in second starting at 1 after a initialization or reboot of the printer object.

Field Summary
Fields inherited from class javax.print.attribute.IntegerSyntax
Constructor Summary
PrinterUpTime(int value)
          Creates a PrinterUpTime with the given value.
Method Summary
 java.lang.Class getCategory()
          Returns category of this class.
 java.lang.String getName()
          Returns the name of this attribute.
Methods inherited from class javax.print.attribute.IntegerSyntax
equals, getValue, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail


public PrinterUpTime(int value)
Creates a PrinterUpTime with the given value.

Method Detail


public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute


public java.lang.String getName()
Returns the name of this attribute.

Specified by:
getName in interface javax.print.attribute.Attribute