Log4j 1.3alpha-3

org.apache.log4j.rolling.helper
Class IdentityTokenConverter

java.lang.Object
  |
  +--org.apache.log4j.rolling.helper.TokenConverter
        |
        +--org.apache.log4j.rolling.helper.IdentityTokenConverter

public class IdentityTokenConverter
extends TokenConverter

IdentityTokenConverter encapsulates the String value with which it was constructed. When asked to convert() it simply returns that String.

Since:
1.3
Author:
Ceki Gulcu

Constructor Summary
IdentityTokenConverter(java.lang.String str)
           
 
Method Summary
 java.lang.String convert()
          Return the string value encapsulated by this instance.
 
Methods inherited from class org.apache.log4j.rolling.helper.TokenConverter
getNext, getType, setNext, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityTokenConverter

public IdentityTokenConverter(java.lang.String str)
Method Detail

convert

public java.lang.String convert()
Return the string value encapsulated by this instance.

Returns:
The String this instance encapsulates.

Log4j 1.3alpha-3

Copyright 2000-2003 Apache Software Foundation.