public final class PrinterInfo extends TextSyntax implements PrintServiceAttribute
PrinterInfo printing attribute provides
informations about a printer device.
IPP Compatibility: PrinterInfo is an IPP 1.1 attribute.
| Constructor and Description |
|---|
PrinterInfo(String printerInfo,
Locale locale)
Creates a
PrinterInfo 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.
|
getLocale, getValue, hashCode, toStringpublic PrinterInfo(String printerInfo, Locale locale)
PrinterInfo object.printerInfo - the printer infolocale - the locale to use, if null the default
locale is used.NullPointerException - if printerInfo is null.public boolean equals(Object obj)
equals in class TextSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributePrinterInfo itself.