API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print. Doc View Source
Author(s)
Since
Version
Serial
Hierarchy
 Doc
Subinterfaces
Description
public interface Doc
  Interface Doc specifies the interface for an object that supplies one piece of print data for a Print Job.
See also:   
Methods
Hide/Show inherited methods
public DocAttributeSet getAttributes ()
  Obtains the set of printing attributes for this doc object.
public DocFlavor getDocFlavor ()
  Determines the doc flavor in which this doc object will supply its piece of print data.
public Object getPrintData () throws IOException
  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.
public Reader getReaderForText () throws IOException
  Obtains a reader for extracting character print data from this doc.
public InputStream getStreamForBytes () throws IOException
  Obtains an input stream for extracting byte print data from this doc.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar