/[classpath]/classpath/java/io/PrintStream.java
ViewVC logotype

Diff of /classpath/java/io/PrintStream.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by arenn, Thu Mar 6 03:00:10 2003 UTC revision 1.6 by arenn, Sat Mar 15 23:08:05 2003 UTC
# Line 143  public class PrintStream extends FilterO Line 143  public class PrintStream extends FilterO
143    
144    /*************************************************************************/    /*************************************************************************/
145    
146      /**
147        * This method intializes a new <code>PrintStream</code> object to write
148        * to the specified output sink.  This constructor also allows "auto-flush"
149        * functionality to be specified where the stream will be flushed after
150        * every line is terminated or newline character is written.
151        * <p>
152        * Note that this class is deprecated in favor of <code>PrintWriter</code>.
153        *
154        * @param out The <code>OutputStream</code> to write to.
155        * @param autoFlush <code>true</code> to flush the stream after every
156        * line, <code>false</code> otherwise
157        * @param encoding The name of the character encoding to use for this
158        * object.
159        *
160        * @deprecated
161        */
162      public PrintStream(OutputStream out, boolean autoFlush, String encoding)
163        throws UnsupportedEncodingException
164      {
165        super(out);
166    
167        pw = new PrintWriter(new OutputStreamWriter(out, encoding), autoFlush);
168        this.auto_flush = autoFlush;
169      }
170    
171      /*************************************************************************/
172    
173    /*    /*
174     * Instance Methods     * Instance Methods
175     */     */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26