IT. Expert System.

Android Reference

XMLFormatter


java.util.logging

Class XMLFormatter



  • public class XMLFormatter
    extends Formatter
    Formatter to convert a LogRecord into an XML string. The DTD specified in Appendix A to the Java Logging APIs specification is used. XMLFormatter uses the output handler's encoding if it is specified, otherwise the default platform encoding is used instead. UTF-8 is the recommended encoding.
    • Constructor Detail

      • XMLFormatter

        public XMLFormatter()
        Constructs a new XMLFormatter.
    • Method Detail

      • format

        public String format(LogRecord r)
        Converts a LogRecord into an XML string.
        Specified by:
        format in class Formatter
        Parameters:
        r - the log record to be formatted.
        Returns:
        the log record formatted as an XML string.
      • getHead

        public String getHead(Handler h)
        Returns the header string for a set of log records formatted as XML strings, using the output handler's encoding if it is defined, otherwise using the default platform encoding.
        Overrides:
        getHead in class Formatter
        Parameters:
        h - the output handler, may be null.
        Returns:
        the header string for log records formatted as XML strings.
      • getTail

        public String getTail(Handler h)
        Returns the tail string for a set of log records formatted as XML strings.
        Overrides:
        getTail in class Formatter
        Parameters:
        h - the output handler, may be null.
        Returns:
        the tail string for log records formatted as XML strings.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 50 / 159176554. Delta: 0.03869 с