public final class JobOriginatingUserName extends TextSyntax implements PrintJobAttribute
RequestingUserName
价值属性在打印请求的属性由客户提供。如果没有认证服务是可用的,和客户端没有提供
RequestingUserName
属性,打印机设置joboriginatingusername属性为空(零长度字符串)。
聚丙烯的相容性:字符串值给出了IPP的名称值。现场给出了IPP的自然语言。返回getName()
类别名称为IPP的属性名称。
Constructor and Description |
---|
JobOriginatingUserName(String userName, Locale locale)
用给定的用户名和语言设置构造一个新的作业起始用户名属性。
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
返回此作业发起的用户名属性是否等同于对象的传递。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getLocale, getValue, hashCode, toString
public JobOriginatingUserName(String userName, Locale locale)
userName
用户名称。
locale
-自然语言文本字符串。零意味着默认区域设置为返回
Locale.getDefault()
NullPointerException
-(unchecked异常)如果
userName
空抛。
public boolean equals(Object object)
object
不空。object
是类joboriginatingusername实例。object
基本相等。object
的现场都是平等的。equals
方法重写,继承类
TextSyntax
object
对象比较。
object
相当于这个工作始发用户名称属性真,否则为假。
Object.hashCode()
,
HashMap
public final 类<? extends Attribute> getCategory()
joboriginatingusername类,类类joboriginatingusername本身。
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.