|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.search.data.SubtitleFile
public class SubtitleFile
Search operations
Constructor Summary | |
---|---|
SubtitleFile(java.util.ArrayList<Subtitle> aListOfSubtitles)
|
Method Summary | |
---|---|
ListOfRow |
getAllRowWhichContainsAtLeastOneOccurrenceOfText(java.lang.String text)
Constructs and return a list of all row that contains at least one occurrence of text |
int |
getCountOfOccurrencesOfText(java.lang.String text)
Gets the count of all the text occurrences given in parameters |
void |
setListOfSubtitles(java.util.ArrayList<Subtitle> aListOfSubtitles)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubtitleFile(java.util.ArrayList<Subtitle> aListOfSubtitles)
aListOfSubtitles
- Method Detail |
---|
public void setListOfSubtitles(java.util.ArrayList<Subtitle> aListOfSubtitles)
aListOfSubtitles
- public int getCountOfOccurrencesOfText(java.lang.String text)
text
- a non null and empty string
java.lang.NullPointerException
- if text is null
java.lang.IllegalArgumentException
- if text is an empty stringpublic ListOfRow getAllRowWhichContainsAtLeastOneOccurrenceOfText(java.lang.String text)
text
- a non null and a non empty string string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |