com.mindtree.techworks.insight.preferences.util
Class Log4JPatternInterpeter

java.lang.Object
  extended by com.mindtree.techworks.insight.preferences.util.Log4JPatternInterpeter

public class Log4JPatternInterpeter
extends java.lang.Object

The Log4JPatternInterpeter class interprets the pattern layout of Log4J and returns a pattern format that is recognized by the Log pattern receiver.

The following variables used in PatternLayout and the interpretation are:

Version:
1.0, 04/12/30
Author:
Regunath B
See Also:
ReceiverFormat

Constructor Summary
Log4JPatternInterpeter()
           
 
Method Summary
static ReceiverFormat getInterpretedFormat(java.lang.String log4jPattern)
          Deprecated. Use the getInterpretedRecieverFormat() method instead.
static ReceiverFormat[] getInterpretedRecieverFormat()
          Gets the interpreted Receiver Format from the Preferences
static void main(java.lang.String[] args)
          Entry method to test this interpreter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JPatternInterpeter

public Log4JPatternInterpeter()
Method Detail

getInterpretedFormat

public static ReceiverFormat getInterpretedFormat(java.lang.String log4jPattern)
Deprecated. Use the getInterpretedRecieverFormat() method instead.

Gets the interpreted receiver-recognizable pattern for the specified Log4j pattern

Parameters:
log4jPattern - the Log4j pattern to be interpreted
Returns:
the receiver recognizable ReceiverFormat

getInterpretedRecieverFormat

public static ReceiverFormat[] getInterpretedRecieverFormat()
Gets the interpreted Receiver Format from the Preferences

Returns:
RecieverFormat from the Preferences

main

public static void main(java.lang.String[] args)
Entry method to test this interpreter

Parameters:
args -


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.