Class FindManager
java.lang.Object
ca.phon.app.session.editor.search.FindManager
Class to manage find and replace for a transcript.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDirection of searchstatic enumCurrent find status -
Constructor Summary
ConstructorsConstructorDescriptionFindManager(Session session) FindManager(Session session, Transcriber transcriber) Constructor -
Method Summary
Modifier and TypeMethodDescriptionfindNext()Search for the next instance of the given expression and return it's location.findPrev()Search for the next instance of the given expression and return it's location.getExprForTier(String tierName) String[]booleanbooleanvoidsetAnyExpr(FindExpr expr) voidsetCurrentLocation(TranscriptElementLocation location) voidvoidsetExprForTier(String tierName, FindExpr expr) voidsetIncludeComments(boolean includeComments) voidsetIncludeGems(boolean includeGems) voidsetSearchTiers(String[] tiers) voidsetSearchTiers(List<String> tiers) voidsetSpeakers(List<Participant> speakers) voidsetStatus(FindManager.FindStatus status)
-
Constructor Details
-
FindManager
-
FindManager
Constructor- Parameters:
session- the session to searchtranscriber- the transcriber
-
-
Method Details
-
getSession
-
getDirection
-
setDirection
-
getStatus
-
setStatus
-
getSearchTiers
-
setSearchTiers
-
setSearchTiers
-
setSpeakers
-
getCurrentLocation
-
setCurrentLocation
-
getAnyExpr
-
setAnyExpr
-
getExprForTier
-
setExprForTier
-
getMatchedExpr
-
getMatchedRange
-
isIncludeComments
public boolean isIncludeComments() -
setIncludeComments
public void setIncludeComments(boolean includeComments) -
isIncludeGems
public boolean isIncludeGems() -
setIncludeGems
public void setIncludeGems(boolean includeGems) -
findNext
Search for the next instance of the given expression and return it's location.- Returns:
- the location of the next instance of the given pattern
-
findPrev
Search for the next instance of the given expression and return it's location.- Returns:
- the location of the next instance of the given pattern
-