API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print. SimpleDoc View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      SimpleDoc
Implements
 Doc
Subclasses
Description
publicfinal class SimpleDoc
  This class is an implementation of interface Doc that can be used in many common printing requests.
See also:   
Constructors
public SimpleDoc (Object printData, DocFlavor flavor, DocAttributeSet attributes)
  Constructs a SimpleDoc with the specified print data, doc flavor and doc attribute set.
Methods
Hide/Show inherited methods
public DocAttributeSet getAttributes () [Specified in Doc]
  Obtains the set of printing attributes for this doc object.
public DocFlavor getDocFlavor () [Specified in Doc]
  Determines the doc flavor in which this doc object will supply its piece of print data.
public Object getPrintData () throws IOException [Specified in Doc]
public Reader getReaderForText () throws IOException [Specified in Doc]
  Obtains a reader for extracting character print data from this doc.
public InputStream getStreamForBytes () throws IOException [Specified in Doc]
  Obtains an input stream for extracting byte print data from this doc.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar