public class StreamableFilterHelper
extends java.lang.Object
Constructor and Description |
---|
StreamableFilterHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
filtersToUseTipText()
The tool tip text for this property.
|
static java.lang.String |
getFilterSpec(weka.filters.Filter f)
Create an option specification string for a filter
|
static java.lang.String[] |
getOptions(PreconstructedFilter filter)
Utility method to return an array of options representing the configuration
of one or more filters wrapped in a PreconstructedFilter
|
static java.util.Enumeration<weka.core.Option> |
listOptions()
Return a list of options for this utility class
|
static PreconstructedFilter |
wrapStreamableFilters(java.util.List<weka.filters.StreamableFilter> filters)
Wraps a list of filters into a Preconstructed filter
|
static PreconstructedFilter |
wrapStreamableFilters(java.lang.String[] options)
Wraps specified filters into a Preconstructed filter
|
public java.lang.String filtersToUseTipText()
public static PreconstructedFilter wrapStreamableFilters(java.util.List<weka.filters.StreamableFilter> filters) throws java.lang.Exception
filters
- the filters to wrapjava.lang.Exception
- if a problem occurspublic static PreconstructedFilter wrapStreamableFilters(java.lang.String[] options) throws java.lang.Exception
options
- options specifying the filters to usejava.lang.Exception
- if a problem occurspublic static java.util.Enumeration<weka.core.Option> listOptions()
public static java.lang.String getFilterSpec(weka.filters.Filter f)
f
- the filterpublic static java.lang.String[] getOptions(PreconstructedFilter filter)
filter
- the PreconstructedFilter to generate a list of options for