/[classpath]/classpath/java/util/logging/XMLFormatter.java
ViewVC logotype

Diff of /classpath/java/util/logging/XMLFormatter.java

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

revision 1.5 by robilad, Thu Apr 22 09:35:33 2004 UTC revision 1.5.2.1 by gnu_andrew, Sat Jan 15 17:02:16 2005 UTC
# Line 1  Line 1 
1  /* XMLFormatter.java  /* XMLFormatter.java --
2     -- a class for formatting log messages into a standard XML format     A class for formatting log messages into a standard XML format
3       Copyright (C) 2002, 2004 Free Software Foundation, Inc.
 Copyright (C) 2002, 2004 Free Software Foundation, Inc.  
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 35  module.  An independent module is a modu Line 34  module.  An independent module is a modu
34  or based on this library.  If you modify this library, you may extend  or based on this library.  If you modify this library, you may extend
35  this exception to your version of the library, but you are not  this exception to your version of the library, but you are not
36  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
37  exception statement from your version.  exception statement from your version. */
   
 */  
38    
39    
40  package java.util.logging;  package java.util.logging;
# Line 101  public class XMLFormatter Line 98  public class XMLFormatter
98     * @param content the element content, or <code>null</code> to     * @param content the element content, or <code>null</code> to
99     *        have no output whatsoever appended to <code>buf</code>.     *        have no output whatsoever appended to <code>buf</code>.
100     */     */
101    private static final void appendTag(StringBuffer buf,    private static void appendTag(StringBuffer buf, int indent,
102                                        int indent,                                  String tag, String content)
                                       String tag,  
                                       String content)  
103    {    {
104      int i;      int i;
105    
# Line 178  public class XMLFormatter Line 173  public class XMLFormatter
173     *     *
174     * @param content the element content.     * @param content the element content.
175     */     */
176    private static final void appendTag(StringBuffer buf,    private static void appendTag(StringBuffer buf, int indent,
177                                        int indent,                                  String tag, long content)
                                       String tag,  
                                       long content)  
178    {    {
179      appendTag(buf, indent, tag, Long.toString(content));      appendTag(buf, indent, tag, Long.toString(content));
180    }    }

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

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