java.lang.Object | |
↳ | sun.print.PageableDoc |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the set of printing attributes for this doc object.
| |||||||||||
Determines the doc flavor in which this doc object will supply its
piece of print data.
| |||||||||||
Obtains the print data representation object that contains this doc
object's piece of print data in the format corresponding to the
supported doc flavor.
| |||||||||||
Obtains a reader for extracting character print data from this doc.
| |||||||||||
Obtains an input stream for extracting byte print data from this
doc.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Obtains the set of printing attributes for this doc object. If the returned attribute set includes an instance of a particular attribute X, the printer must use that attribute value for this doc, overriding any value of attribute X in the job's attribute set. If the returned attribute set does not include an instance of a particular attribute X or if null is returned, the printer must consult the job's attribute set to obtain the value for attribute X, and if not found there, the printer must use an implementation-dependent default value. The returned attribute set is unmodifiable.
Determines the doc flavor in which this doc object will supply its piece of print data.
Obtains the print data representation object that contains this doc
object's piece of print data in the format corresponding to the
supported doc flavor.
The getPrintData()
method returns an instance of
the representation class whose name is given by
, and the return value can be cast
from class Object to that representation class.getDocFlavor()
.getRepresentationClassName()
IOException |
---|
Obtains a reader for extracting character print data from this doc. The Doc implementation is required to support this method if the DocFlavor has one of the following print data representation classes, and return null otherwise:
Obtains an input stream for extracting byte print data from this doc. The Doc implementation is required to support this method if the DocFlavor has one of the following print data representation classes, and return null otherwise:
IOException |
---|