public final class DocumentName extends TextSyntax implements DocAttribute
JobName以获取更多信息。 
        IPP兼容性:字符串值给出IPP名称值。 该地区提供IPP自然语言。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| DocumentName(String documentName, Locale locale)
              使用给定的文档名称和语言环境构造新的文档名称属性。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回此文档名称属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getLocale, getValue, hashCode, toStringpublic DocumentName(String documentName, Locale locale)
documentName - 文件名称。 
           locale - 文本字符串的自然语言。 
            null解释为默认的语言环境作为由返回Locale.getDefault() 
           NullPointerException - (未选中的异常)如果 
            documentName为空,则抛出。 
           public boolean equals(Object object)
object不为空。 object是DocumentName类的一个实例。 object的底层字符串相等。 object的区域设置相等。 equals在类别 
            TextSyntax 
           object - 要比较的对象。 
           object相当于此文档名称属性,则为true,否则为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于类DocumentName,类别是DocumentName本身。
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.