public final class JobName extends TextSyntax implements PrintRequestAttribute, PrintJobAttribute
DocumentName属性,(2)第一个(或仅)文档,如果文档的打印数据表示对象是URL,或(3)任何其他打印作业特定和/或文档内容信息。 
        IPP兼容性:字符串值给出IPP名称值。 该地区提供IPP自然语言。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| JobName(String jobName, Locale locale)
              构造具有给定作业名称和区域设置的新作业名称属性。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回此作业名称属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getLocale, getValue, hashCode, toStringpublic JobName(String jobName, Locale locale)
jobName - 职务名称。 
           locale - 文本字符串的自然语言。 
            null解释为默认的语言环境作为由返回Locale.getDefault() 
           NullPointerException - (未选中的异常)如果 
            jobName为空,则抛出。 
           public boolean equals(Object object)
object不为空。 object是JobName类的实例。 object的底层字符串相等。 object的区域设置相等。 equals在 
            TextSyntax 
           object - 要比较的对象。 
           object等效于此作业名称属性,则为True, 
            object为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于JobName类,该类别是JobName类。
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.