net.sf.logdistiller.plugins
Class FreqPlugin

java.lang.Object
  extended by net.sf.logdistiller.LogDistillation.Plugin
      extended by net.sf.logdistiller.plugins.FreqPlugin
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SamplingPlugin

public class FreqPlugin
extends LogDistillation.Plugin

Counts the frequency of each attribute's value.

Parameters:

Since:
0.6
See Also:
SamplingPlugin, Serialized Form

Field Summary
static String ID
           
static Plugin TYPE
           
 
Fields inherited from class net.sf.logdistiller.LogDistillation.Plugin
definition, group
 
Constructor Summary
  FreqPlugin(LogDistiller.Plugin definition)
           
protected FreqPlugin(LogDistiller.Plugin definition, boolean checkSampling)
           
 
Method Summary
protected  net.sf.logdistiller.plugins.FreqPlugin.Freq addFreqLogEvent(LogEvent logEvent)
           
protected  void addLinkIntoReport(ReportFormat.PluginReport report)
           
 void addLogEvent(LogEvent logEvent)
           
 void appendGlobalReport(ReportFormat.PluginReport report)
           
 void appendGroupReport(ReportFormat.PluginReport report)
           
 void begin(File destinationDirectory)
           
 void end()
           
 
Methods inherited from class net.sf.logdistiller.LogDistillation.Plugin
addLogEvent, getDefinition, getGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values

TYPE

public static final Plugin TYPE
Constructor Detail

FreqPlugin

public FreqPlugin(LogDistiller.Plugin definition)

FreqPlugin

protected FreqPlugin(LogDistiller.Plugin definition,
                     boolean checkSampling)
Method Detail

begin

public void begin(File destinationDirectory)
           throws FileNotFoundException
Specified by:
begin in class LogDistillation.Plugin
Throws:
FileNotFoundException

addLogEvent

public void addLogEvent(LogEvent logEvent)
                 throws IOException
Specified by:
addLogEvent in class LogDistillation.Plugin
Throws:
IOException

addFreqLogEvent

protected net.sf.logdistiller.plugins.FreqPlugin.Freq addFreqLogEvent(LogEvent logEvent)
                                                               throws IOException
Throws:
IOException

end

public void end()
         throws IOException
Specified by:
end in class LogDistillation.Plugin
Throws:
IOException

appendGroupReport

public void appendGroupReport(ReportFormat.PluginReport report)
Specified by:
appendGroupReport in class LogDistillation.Plugin

appendGlobalReport

public void appendGlobalReport(ReportFormat.PluginReport report)
Specified by:
appendGlobalReport in class LogDistillation.Plugin

addLinkIntoReport

protected void addLinkIntoReport(ReportFormat.PluginReport report)


Copyright © 2004-2009. All Rights Reserved.