|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.print.attribute.URISyntax
javax.print.attribute.standard.PrinterURI
public final class PrinterURI
The PrinterURI attribute provides the URI of a printer.
The URI identifies the printer against all the other print services available. This attribute is used to direct a print service request to this specific printer.
IPP Compatibility: PrinterURI is an IPP 1.1 attribute.
| Constructor Summary | |
|---|---|
PrinterURI(URI uri)
Constructs a PrinterURI 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. |
| Methods inherited from class javax.print.attribute.URISyntax |
|---|
getURI, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrinterURI(URI uri)
PrinterURI object.
uri - the URI of the print service.
NullPointerException - if the given uri is null.| Method Detail |
|---|
public boolean equals(Object obj)
equals in class URISyntaxobj - the object to test
true if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributePrinterURI itself.public String getName()
getName in interface Attribute
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||