Hi,

changelog says all.

2006-02-21  Wolfgang Baer  <[EMAIL PROTECTED]>

        * javax/print/StreamPrintService.java: Added and enhanced documentation.


Wolfgang

Index: javax/print/StreamPrintService.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/print/StreamPrintService.java,v
retrieving revision 1.2
diff -u -r1.2 StreamPrintService.java
--- javax/print/StreamPrintService.java	2 Jul 2005 20:32:46 -0000	1.2
+++ javax/print/StreamPrintService.java	21 Feb 2006 15:34:44 -0000
@@ -1,5 +1,5 @@
 /* StreamPrintService.java --
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -42,6 +42,15 @@
 
 
 /**
+ * <code>StreamPrintService</code> is a special print service capable of
+ * printing into a supplied output stream.
+ * <p>
+ * 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 [EMAIL PROTECTED] javax.print.StreamPrintServiceFactory} 
+ * by looking for services supporting a given output format type.
+ * </p>
+ * 
  * @author Michael Koch ([EMAIL PROTECTED])
  */
 public abstract class StreamPrintService implements PrintService
@@ -68,16 +77,18 @@
   }
 
   /**
-   * Returns the document format emited by this print service.
+   * Returns the document format emitted by this print service.
+   * The returned string is a MIME type compatible with the 
+   * [EMAIL PROTECTED] DocFlavor} class.
    * 
-   * @return the document format
+   * @return The document format of the output.
    */
   public abstract String getOutputFormat();
 
   /**
    * Returns the <code>OutputStream</code> of this object.
    * 
-   * @return the <code>OutputStream</code>
+   * @return The <code>OutputStream</code>
    */
   public OutputStream getOutputStream()
   {

Reply via email to