javax.print.attribute.standard
public class: Compression [javadoc |
source]
java.lang.Object
javax.print.attribute.EnumSyntax
javax.print.attribute.standard.Compression
All Implemented Interfaces:
DocAttribute, Cloneable, Serializable
Class Compression is a printing attribute class, an enumeration, that
specifies how print data is compressed. Compression is an attribute of the
print data (the doc), not of the Print Job. If a Compression attribute is not
specified for a doc, the printer assumes the doc's print data is uncompressed
(i.e., the default Compression value is always
NONE
).
IPP Compatibility: The category name returned by
getName()
is the IPP attribute name. The enumeration's
integer value is the IPP enum value. The toString()
method
returns the IPP string representation of the attribute value.
Field Summary |
---|
public static final Compression | NONE | No compression is used. |
public static final Compression | DEFLATE | ZIP public domain inflate/deflate compression technology. |
public static final Compression | GZIP | GNU zip compression technology described in
RFC 1952. |
public static final Compression | COMPRESS | UNIX compression technology. |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |