public final class JobKOctetsSupported extends SetOfIntegerSyntax implements SupportedValuesAttribute
JobKOctets属性。 
       它限于单个连续的整数范围; 
       不允许多个不重叠的范围。 
       这给出打印机将接受的K个八位字节(1024个八位字节)为单位的打印作业的总大小的下限和上限。 
        IPP兼容性: 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 - (未检查的异常)如果指定了一个空值范围或者如果指定了一个非空范围,那么 
            lowerBound小于0就抛出异常。 
           public boolean equals(Object object)
object不为空。 object是JobKOctetsSupported类的一个实例。 object的成员是一样的。 equals在类别 
            SetOfIntegerSyntax 
           object - 要比较的对象。 
           object相当于此作业K字节支持属性,则为True,否则为false。 
           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.