Module java.desktop
Package javax.print

Class StreamPrintServiceFactory

java.lang.Object
javax.print.StreamPrintServiceFactory

public abstract class StreamPrintServiceFactory extends Object
A StreamPrintServiceFactory is the factory for StreamPrintService instances, which can print to an output stream in a particular document format described as a mime type. A typical output document format may be Postscript(TM).

This class is implemented by a service and located by the implementation using the ServiceLoader facility.

Applications locate instances of this class by calling the lookupStreamPrintServiceFactories(DocFlavor, String) method.

Applications can use a StreamPrintService obtained from a factory in place of a PrintService which represents a physical printer device.