public class PartitionedMultiFilter extends SimpleBatchFilter
-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
-R <range> An attribute range (can be specified multiple times). For each filter a range must be supplied. 'first' and 'last' are valid indices. 'inv(...)' around the range denotes an inverted range.
-U Flag for leaving unused attributes out of the output, by default these are included in the filter output.
StreamableFilter,
Serialized Form| Constructor and Description |
|---|
PartitionedMultiFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
filtersTipText()
Returns the tip text for this property.
|
Filter |
getFilter(int index)
Gets a single filter from the set of available filters.
|
Filter[] |
getFilters()
Gets the list of possible filters to choose from.
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
Range |
getRange(int index)
Gets a single Range from the set of available Ranges.
|
Range[] |
getRanges()
Gets the list of possible Ranges to choose from.
|
boolean |
getRemoveUnused()
Gets whether unused attributes (ones that are not covered by any of the
ranges) are removed from the output.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
globalInfo()
Returns a string describing this filter.
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
static void |
main(java.lang.String[] args)
Main method for executing this class.
|
java.lang.String |
rangesTipText()
Returns the tip text for this property.
|
java.lang.String |
removeUnusedTipText()
Returns the tip text for this property.
|
void |
setFilters(Filter[] filters)
Sets the list of possible filters to choose from.
|
void |
setOptions(java.lang.String[] options)
Parses a list of options for this object.
|
void |
setRanges(Range[] Ranges)
Sets the list of possible Ranges to choose from.
|
void |
setRemoveUnused(boolean value)
Sets whether unused attributes (ones that are not covered by any of the
ranges) are removed from the output.
|
allowAccessToFullInputFormat, batchFinished, inputsetInputFormatbatchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCapabilities, getDebug, getDoNotCheckCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapperpublic java.lang.String globalInfo()
globalInfo in class SimpleFilterpublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class Filterpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
-D Turns on output of debugging information.
-F <classname [options]> A filter to apply (can be specified multiple times).
-R <range> An attribute range (can be specified multiple times). For each filter a range must be supplied. 'first' and 'last' are valid indices. 'inv(...)' around the range denotes an inverted range.
-U Flag for leaving unused attributes out of the output, by default these are included in the filter output.
setOptions in interface OptionHandlersetOptions in class Filteroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class Filterpublic void setRemoveUnused(boolean value)
value - if true then the unused attributes get removedpublic boolean getRemoveUnused()
public java.lang.String removeUnusedTipText()
public void setFilters(Filter[] filters)
filters - an array of filters with all options set.SimpleFilter.reset()public Filter[] getFilters()
public java.lang.String filtersTipText()
public Filter getFilter(int index)
index - the index of the filter wantedpublic void setRanges(Range[] Ranges)
Ranges - an array of Ranges with all options set.SimpleFilter.reset()public Range[] getRanges()
public java.lang.String rangesTipText()
public Range getRange(int index)
index - the index of the Range wantedpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class Filterpublic static void main(java.lang.String[] args)
args - should contain arguments for the filter: use -h for help