home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / javax / print / StreamPrintService.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  556 b   |  30 lines

  1. package javax.print;
  2.  
  3. import java.io.OutputStream;
  4.  
  5. public abstract class StreamPrintService implements PrintService {
  6.    private OutputStream outStream;
  7.    private boolean disposed = false;
  8.  
  9.    private StreamPrintService() {
  10.    }
  11.  
  12.    protected StreamPrintService(OutputStream var1) {
  13.       this.outStream = var1;
  14.    }
  15.  
  16.    public OutputStream getOutputStream() {
  17.       return this.outStream;
  18.    }
  19.  
  20.    public abstract String getOutputFormat();
  21.  
  22.    public void dispose() {
  23.       this.disposed = true;
  24.    }
  25.  
  26.    public boolean isDisposed() {
  27.       return this.disposed;
  28.    }
  29. }
  30.