Package ca.phon.session.filter
Class RangeRecordFilter
java.lang.Object
ca.phon.session.filter.AbstractRecordFilter
ca.phon.session.filter.RangeRecordFilter
- All Implemented Interfaces:
RecordFilter
Filters utterances based on their position in the list.
Ranges can be given in string format separated by ',':
Ex:
1..2, 4, 8...10
Will return utterances 1,2,4,8,9
-
Constructor Summary
-
Method Summary
Methods inherited from class ca.phon.session.filter.AbstractRecordFilter
filterUtterances
-
Constructor Details
-
RangeRecordFilter
-
RangeRecordFilter
- Throws:
ParseException
-
-
Method Details
-
setSession
-
getSession
-
addRange
-
addRange
- Throws:
ParseException
-
getRanges
-
setRanges
-
checkRecord
Description copied from interface:RecordFilter
Does the given utterance match our pattern?- Returns:
- boolean
-