Uses of Package
javax.print
-
Packages that use javax.print Package Description java.awt.print Provides classes and interfaces for a general printing API.javax.print Provides the principal classes and interfaces for the Java™ Print Service API.javax.print.event Packagejavax.print.event
contains event classes and listener interfaces.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. -
Classes in javax.print used by java.awt.print Class Description PrintService InterfacePrintService
is the factory for aDocPrintJob
.StreamPrintServiceFactory AStreamPrintServiceFactory
is the factory forStreamPrintService
instances, which can print to an output stream in a particular document format described as a mime type. -
Classes in javax.print used by javax.print Class Description Doc InterfaceDoc
specifies the interface for an object that supplies one piece of print data for a Print Job.DocFlavor ClassDocFlavor
encapsulates an object that specifies the format in which print data is supplied to aDocPrintJob
.DocFlavor.BYTE_ARRAY ClassDocFlavor.BYTE_ARRAY
provides predefined static constantDocFlavor
objects for example doc flavors using a byte array (byte[]
) as the print data representation class.DocFlavor.CHAR_ARRAY ClassDocFlavor.CHAR_ARRAY
provides predefined static constantDocFlavor
objects for example doc flavors using a character array (char[]
) as the print data representation class.DocFlavor.INPUT_STREAM ClassDocFlavor.INPUT_STREAM
provides predefined static constantDocFlavor
objects for example doc flavors using a byte stream (java.io.InputStream
) as the print data representation class.DocFlavor.READER ClassDocFlavor.READER
provides predefined static constantDocFlavor
objects for example doc flavors using a character stream (java.io.Reader
) as the print data representation class.DocFlavor.SERVICE_FORMATTED ClassDocFlavor.SERVICE_FORMATTED
provides predefined static constantDocFlavor
objects for example doc flavors for service formatted print data.DocFlavor.STRING ClassDocFlavor.STRING
provides predefined static constantDocFlavor
objects for example doc flavors using a string (java.lang.String
) as the print data representation class.DocFlavor.URL ClassDocFlavor.URL
provides predefined static constantDocFlavor
objects.DocPrintJob This interface represents a print job that can print a specified document with a set of job attributes.MultiDoc InterfaceMultiDoc
specifies the interface for an object that supplies more than one piece of print data for a Print Job.MultiDocPrintJob Obtained from aMultiDocPrintService
, aMultiDocPrintJob
can print a specified collection of documents as a single print job with a set of job attributes.MultiDocPrintService InterfaceMultiPrintService
is the factory for aMultiDocPrintJob
.PrintException ClassPrintException
encapsulates a printing-related error condition that occurred while using a Print Service instance.PrintService InterfacePrintService
is the factory for aDocPrintJob
.PrintServiceLookup Implementations of this class provide lookup services for print services (typically equivalent to printers) of a particular type.ServiceUIFactory Services may optionally provide UIs which allow different styles of interaction in different roles.StreamPrintService This class extendsPrintService
and represents a print service that prints data in different formats to a client-provided output stream.StreamPrintServiceFactory AStreamPrintServiceFactory
is the factory forStreamPrintService
instances, which can print to an output stream in a particular document format described as a mime type. -
Classes in javax.print used by javax.print.event Class Description DocPrintJob This interface represents a print job that can print a specified document with a set of job attributes.PrintService InterfacePrintService
is the factory for aDocPrintJob
. -
Classes in javax.print used by javax.swing Class Description PrintService InterfacePrintService
is the factory for aDocPrintJob
. -
Classes in javax.print used by javax.swing.text Class Description PrintService InterfacePrintService
is the factory for aDocPrintJob
.