public final class PrinterURI extends URISyntax implements PrintServiceAttribute
IPP兼容性:实现IPP打印机 - uri属性。 toString()返回的字符串形式给出了IPP打印机的uri值。 由getName()返回的类别名称提供IPP属性名称。
public PrinterURI(URI uri)
uri - 打印机的URI
NullPointerException - (未选中的异常)如果
uri为空,则抛出。
public boolean equals(Object object)
object不为空。 object是PrinterURI类的一个实例。 object的底层URI相同。 equals在
URISyntax类
object - 要比较的对象。
object等同于此PrinterURI属性,则为True,
object为false。
Object.hashCode() , HashMap
public final 类<? extends Attribute> getCategory()
对于PrinterURI类和任何供应商定义的子类,该类别是PrinterURI类。
getCategory在接口
Attribute
java.lang.Class的一个实例。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.