|
PTLog API - 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjp.ne.dti.lares.foozy.ptlog.ClassbaseTypeConverterFactory
Implementation to convert log type by class base examination.
This splits specified parameter string into
2 substrings by DELIMITER, and recognizes them as:
conversion result object
You must concretize below method(s) to have this function.
| Field Summary | |
static char |
DELIMITER
Delimiter character to split parameter string into required parameters. |
| Constructor Summary | |
ClassbaseTypeConverterFactory()
Constructor. |
|
| Method Summary | |
TypeConverter |
create(java.lang.String parameter)
Create converter by specified parameter string. |
protected abstract java.lang.Object |
createResult(java.lang.String parameter)
Create conversion result object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final char DELIMITER
This has ','(comma) value.
| Constructor Detail |
public ClassbaseTypeConverterFactory()
| Method Detail |
protected abstract java.lang.Object createResult(java.lang.String parameter)
parameter - to create conversion result objectpublic TypeConverter create(java.lang.String parameter)
This invokes evaluate()
with specified parameter and DELIMITER.
This invocation causes createResult(java.lang.String) invocation.
create in interface TypeConverterFactoryparameter - string from configuration file.
|
PTLog API - 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||