|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.StreamPrintService
public abstract class StreamPrintService
StreamPrintService
is a special print service capable of
printing into a supplied output stream.
Beside providing the same functionality as a print service it additionally
allows to specify the output stream for the print data. A stream print
service is obtained via the StreamPrintServiceFactory
by looking for services supporting a given output format type.
Constructor Summary | |
---|---|
protected |
StreamPrintService(OutputStream out)
Constructs a StreamPrintService object. |
Method Summary | |
---|---|
void |
dispose()
Dispose this StreamPrintService object. |
abstract String |
getOutputFormat()
Returns the document format emitted by this print service. |
OutputStream |
getOutputStream()
Returns the OutputStream of this object. |
boolean |
isDisposed()
Determines if this StreamPrintService object is disposed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StreamPrintService(OutputStream out)
StreamPrintService
object.
out
- the OutputStream
to useMethod Detail |
---|
public void dispose()
StreamPrintService
object.
public abstract String getOutputFormat()
DocFlavor
class.
public OutputStream getOutputStream()
OutputStream
of this object.
OutputStream
public boolean isDisposed()
StreamPrintService
object is disposed.
true
if disposed already,
otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |