com.sap.tc.logging

Class FormatterType

java.lang.Object
  extended bycom.sap.tc.logging.FormatterType
All Implemented Interfaces:
Serializable

public class FormatterType
extends Object
implements Serializable

Defines and provides typesafe enums of types of Formatter used in logging to format a log message and its related information. Currently, there are three types defined: LISTFORMAT, TRACEFORMAT, XMLFORMAT

See Also:
Serialized Form

Field Summary
static List ALLTYPES
          Returns an immutable list of predefined formatter types.
static FormatterType LISTFORMAT
          A not-so-human-readable format to be transferred to and processed further by another application, for example, a log viewer.
static FormatterType PERFFORMAT
          See class (@link PerfFormatter}.
static FormatterType TRACEFORMAT
          A format which is readily understood by users.
static FormatterType UNDEFINEDFORMAT
          Unknown format.
static FormatterType XMLFORMAT
          See class (@link XMLFormatter}.
 
Constructor Summary
protected FormatterType(String aTypeName)
           
 
Method Summary
 boolean equals(Object that)
          A final method with same behavior as in parent class Object.
 int hashCode()
          A final method with same behavior as in parent class Object.
 String toString()
          Returns the formatter type in literal string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LISTFORMAT

public static final FormatterType LISTFORMAT
A not-so-human-readable format to be transferred to and processed further by another application, for example, a log viewer. See class (@link ListFormatter}.


TRACEFORMAT

public static final FormatterType TRACEFORMAT
A format which is readily understood by users. See class (@link TraceFormatter}.


PERFFORMAT

public static final FormatterType PERFFORMAT
See class (@link PerfFormatter}.


XMLFORMAT

public static final FormatterType XMLFORMAT
See class (@link XMLFormatter}.


UNDEFINEDFORMAT

public static final FormatterType UNDEFINEDFORMAT
Unknown format.


ALLTYPES

public static final List ALLTYPES
Returns an immutable list of predefined formatter types.

Constructor Detail

FormatterType

protected FormatterType(String aTypeName)
Method Detail

toString

public String toString()
Returns the formatter type in literal string.


equals

public final boolean equals(Object that)
A final method with same behavior as in parent class Object.


hashCode

public final int hashCode()
A final method with same behavior as in parent class Object.



Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.