Uses of Package
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 |
Package
javax.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 InterfacePrintServiceis the factory for aDocPrintJob.StreamPrintServiceFactory AStreamPrintServiceFactoryis the factory forStreamPrintServiceinstances, 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 InterfaceDocspecifies the interface for an object that supplies one piece of print data for a Print Job.DocFlavor ClassDocFlavorencapsulates an object that specifies the format in which print data is supplied to aDocPrintJob.DocFlavor.BYTE_ARRAY ClassDocFlavor.BYTE_ARRAYprovides predefined static constantDocFlavorobjects for example doc flavors using a byte array (byte[]) as the print data representation class.DocFlavor.CHAR_ARRAY ClassDocFlavor.CHAR_ARRAYprovides predefined static constantDocFlavorobjects for example doc flavors using a character array (char[]) as the print data representation class.DocFlavor.INPUT_STREAM ClassDocFlavor.INPUT_STREAMprovides predefined static constantDocFlavorobjects for example doc flavors using a byte stream (java.io.InputStream) as the print data representation class.DocFlavor.READER ClassDocFlavor.READERprovides predefined static constantDocFlavorobjects for example doc flavors using a character stream (java.io.Reader) as the print data representation class.DocFlavor.SERVICE_FORMATTED ClassDocFlavor.SERVICE_FORMATTEDprovides predefined static constantDocFlavorobjects for example doc flavors for service formatted print data.DocFlavor.STRING ClassDocFlavor.STRINGprovides predefined static constantDocFlavorobjects for example doc flavors using a string (java.lang.String) as the print data representation class.DocFlavor.URL ClassDocFlavor.URLprovides predefined static constantDocFlavorobjects.DocPrintJob This interface represents a print job that can print a specified document with a set of job attributes.MultiDoc InterfaceMultiDocspecifies the interface for an object that supplies more than one piece of print data for a Print Job.MultiDocPrintJob Obtained from aMultiDocPrintService, aMultiDocPrintJobcan print a specified collection of documents as a single print job with a set of job attributes.MultiDocPrintService InterfaceMultiPrintServiceis the factory for aMultiDocPrintJob.PrintException ClassPrintExceptionencapsulates a printing-related error condition that occurred while using a Print Service instance.PrintService InterfacePrintServiceis 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 extendsPrintServiceand represents a print service that prints data in different formats to a client-provided output stream.StreamPrintServiceFactory AStreamPrintServiceFactoryis the factory forStreamPrintServiceinstances, 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 InterfacePrintServiceis the factory for aDocPrintJob. -
Classes in javax.print used by javax.swing Class Description PrintService InterfacePrintServiceis the factory for aDocPrintJob. -
Classes in javax.print used by javax.swing.text Class Description PrintService InterfacePrintServiceis the factory for aDocPrintJob.