|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.logAnalyzer.converters.ConverterDefinition
This class contains the definition of a converter.
Constructor Summary | |
ConverterDefinition(java.lang.String key,
java.lang.Class converterClass,
boolean option,
java.lang.String label)
|
|
ConverterDefinition(java.lang.String key,
java.lang.String classname,
boolean option,
boolean message,
java.lang.String label)
|
Method Summary | |
LAConverter |
createConverterInstance(java.lang.String value)
Creates a new converter instance. |
java.lang.Class |
getConverterClass()
Returns the converter class. |
java.lang.String |
getKey()
Return the definition key. |
java.lang.String |
getLabel()
Returns the converter label. |
boolean |
hasOption()
Returns true if the converter has options. |
boolean |
isMessage()
Returns true if the converter is a messageLabel converter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConverterDefinition(java.lang.String key, java.lang.String classname, boolean option, boolean message, java.lang.String label) throws java.lang.ClassNotFoundException
public ConverterDefinition(java.lang.String key, java.lang.Class converterClass, boolean option, java.lang.String label)
Method Detail |
public java.lang.String getKey()
public java.lang.String getLabel()
public java.lang.Class getConverterClass()
public boolean hasOption()
public boolean isMessage()
A messageLabel is a special field which could be extended during parsing process.
For example, if you log a Java exception, the exception may be written on more than one line, so the parsing process has to concat several lines to get the complete messageLabel.
public LAConverter createConverterInstance(java.lang.String value) throws PatternParsingException
value
- Name of the converter.
PatternParsingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |