org.jwall.log
Class LogMessageExtractor

java.lang.Object
  extended by org.jwall.log.LogMessageExtractor
All Implemented Interfaces:
FeatureExtractor<LogMessage,List<String>>

public class LogMessageExtractor
extends Object
implements FeatureExtractor<LogMessage,List<String>>


Field Summary
static Set<String> VARIABLES
           
 
Constructor Summary
LogMessageExtractor()
           
 
Method Summary
 List<String> extract(String feature, LogMessage event)
          Extract all values for the specified feature from the given event.
 Set<String> getVariables(LogMessage event)
          This method extracts all available feature names for the given event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLES

public static final Set<String> VARIABLES
Constructor Detail

LogMessageExtractor

public LogMessageExtractor()
Method Detail

extract

public List<String> extract(String feature,
                            LogMessage event)
Description copied from interface: FeatureExtractor
Extract all values for the specified feature from the given event.

Specified by:
extract in interface FeatureExtractor<LogMessage,List<String>>
Returns:

getVariables

public Set<String> getVariables(LogMessage event)
Description copied from interface: FeatureExtractor
This method extracts all available feature names for the given event.

Specified by:
getVariables in interface FeatureExtractor<LogMessage,List<String>>
Returns:


Copyright © 2012 jwall.org. All Rights Reserved.