Methods Summary |
---|
public void | dispose()Disposes this StreamPrintService .
If a stream service cannot be re-used, it must be disposed
to indicate this. Typically the client will call this method.
Services which write data which cannot meaningfully be appended to
may also dispose the stream. This does not close the stream. It
just marks it as not for further use by this service.
disposed = true;
|
public abstract java.lang.String | getOutputFormat()Returns the document format emitted by this print service.
Must be in mimetype format, compatible with the mime type
components of DocFlavors @see DocFlavor.
|
public java.io.OutputStream | getOutputStream()Gets the output stream.
return outStream;
|
public boolean | isDisposed()Returns a boolean indicating whether or not
this StreamPrintService has been disposed.
If this object has been disposed, will return true.
Used by services and client applications to recognize streams
to which no further data should be written.
return disposed;
|