PTLog API - 1.0

jp.ne.dti.lares.foozy.ptlog
Interface TypeConverter

All Known Implementing Classes:
ClassbaseTypeConverter, DefaultTypeConverter, DefaultTypeConverter, DefaultTypeConverter, DefaultTypeConverter

public interface TypeConverter

Abstraction of conversion from LogType to another.

This is used to convert LogType to specific object which is similar for log service provider. e.g.:Level of JDK Logging API(or Log4j).


Method Summary
 java.lang.Object convert(LogType type)
          Convert specified log type to another.
 

Method Detail

convert

public java.lang.Object convert(LogType type)
Convert specified log type to another.

Parameters:
type - to be converted.
Returns:
conversion result, or null if specified type is out of interest.

PTLog API - 1.0