public final class PrinterMoreInfo extends URISyntax implements PrintServiceAttribute
相反,该PrinterMoreInfoManufacturer
属性用于而不是特定的打印机找到关于这类打印机的更多信息。
聚丙烯的相容性:返回的字符串形式给出toString()
IPP URI值。类别名称返回getName()
了IPP的属性名称。
Constructor and Description |
---|
PrinterMoreInfo(URI uri)
构建了一个新的打印机更多信息属性指定的URI。
|
public PrinterMoreInfo(URI uri)
uri
- URI。
NullPointerException
-(unchecked异常)如果
uri
空抛。
public boolean equals(Object object)
object
不空。object
是类printermoreinfo实例。object
URI的URI是平等的。equals
方法重写,继承类
URISyntax
object
对象比较。
object
相当于这台打印机更多信息属性真,否则为假。
Object.hashCode()
,
HashMap
public final 类<? extends Attribute> getCategory()
printermoreinfo类,类类printermoreinfo本身。
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.