You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/01/29 17:48:16 UTC

cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka HtmlPrettyPrintWriter.java

dion        02/01/29 08:48:16

  Modified:    latka/src/java/org/apache/commons/latka
                        HtmlPrettyPrintWriter.java
  Log:
  Fixed javadocs, added version tag to class
  
  Revision  Changes    Path
  1.2       +13 -2     jakarta-commons/latka/src/java/org/apache/commons/latka/HtmlPrettyPrintWriter.java
  
  Index: HtmlPrettyPrintWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/HtmlPrettyPrintWriter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HtmlPrettyPrintWriter.java	18 Sep 2001 18:17:25 -0000	1.1
  +++ HtmlPrettyPrintWriter.java	29 Jan 2002 16:48:16 -0000	1.2
  @@ -72,18 +72,29 @@
    * to allow for line wrapping.
    * 
    * @author Morgan Delagrange
  + * @author dIon Gillard (javadocs)
    * @see XMLReporter#setPrintWriter(PrintWriter)
  + * @version $Revision: 1.2 $
    */
   public class HtmlPrettyPrintWriter extends PrintWriter {
   
  +  /** number of characters written by the writer */
     protected int _charsWritten = 0;
   
  -  // defined in interface
  +  /**
  +   * Create a HtmlPrettyPrintWriter wrapping an existing writer
  +   * sends output to the wrapped writer
  +   * @param writer any java.io.Writer
  +   */
     public HtmlPrettyPrintWriter(Writer writer) {
       super(writer);
     }
   
  -  // defined in interface
  +  /**
  +   * Write a string to the wrapped writer format it specially as per
  +   * the class definition
  +   * @param output a String to be written
  +   */ 
     public void print(String output) {
   
       ++_charsWritten;
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>