public final class JobKOctetsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobKOctets属性给出了支持的值。它被限制在一个单一的连续范围的整数;多个非重叠的范围是不允许的。这对K字节单位打印工作的总大小的上限和下限(1024字节),打印机会接受。
聚丙烯的相容性:的jobkoctetssupported属性的典型的数组形式给出上下限值的范围是包括在IPP”job-k-octets-supported”属性。看到典型的阵列形式解释类SetOfIntegerSyntax。类别名称返回getName()了IPP的属性名称。
| Constructor and Description |
|---|
JobKOctetsSupported(int lowerBound, int upperBound)
构建一个新的工作K字节支持属性包含一个整数的范围。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
回报这份工作是否支持K字节的属性等同于传入的对象。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
contains, contains, getMembers, hashCode, next, toStringpublic JobKOctetsSupported(int lowerBound,
int upperBound)
lowerBound下的束缚。
upperBound上界的范围。
IllegalArgumentException -(unchecked例外)如果一个空的指定范围内或如果一个非空的范围是小于0的规定
lowerBound扔。
public boolean equals(Object object)
object不空。object是一个类的实例jobkoctetssupported。object的成员都是一样的。equals 方法重写,继承类
SetOfIntegerSyntax
object对象比较。
object相当于这个工作的K字节支持属性真,否则为假。
Object.hashCode(),
HashMap
public final 类<? extends Attribute> getCategory()
jobkoctetssupported类,类类jobkoctetssupported本身。
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.