|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.receiver.LogInterpreter
public class LogInterpreter
The LogInterpreter class is an abstraction of functionality
which is used for creating log events out of the given resource.
| Constructor Summary | |
|---|---|
LogInterpreter(LogNamespace logNamespace)
Creates an Instace of this class using the specified ReceiverFormat and Source String |
|
| Method Summary | |
|---|---|
ReceiverFormat[] |
getReceiverFormat()
|
java.lang.String |
getSourceString()
|
LogEvent[] |
parseLogMessage(java.lang.String line)
This method tries to convert a line to Log event. |
void |
setLogNamespace(LogNamespace logNamespace)
Sets the log namespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogInterpreter(LogNamespace logNamespace)
logNamespace - The namespace to use for this interpreter| Method Detail |
|---|
public LogEvent[] parseLogMessage(java.lang.String line)
line - Line which needs to be converted to LogEvent.
public void setLogNamespace(LogNamespace logNamespace)
RemoteProtocolStreamReceiver as it might receive the
startup message later than the first message from a source.
logNamespace - public ReceiverFormat[] getReceiverFormat()
public java.lang.String getSourceString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||