javax.print.attribute.standard
public final class PrinterName extends TextSyntax implements PrintServiceAttribute
PrinterName printing attribute provides the name of a
print service. The name may but must not be related to parts of the
printer URI.
IPP Compatibility: PrinterName is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
| PrinterName(String printerName, Locale locale)
Creates a PrinterName 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.
|
PrinterName object.
Parameters: printerName the printer name locale the locale to use, if null the default
locale is used.
Throws: NullPointerException if printerName is null.
Parameters: obj the object to test
Returns: true if both objects are equal,
false otherwise.
Returns: The class PrinterName itself.
Returns: The name "printer-name".