Package ca.phon.app.project
Class SessionMerger
java.lang.Object
ca.phon.worker.PhonTask
ca.phon.app.project.SessionMerger
- All Implemented Interfaces:
Runnable
Handle merging of sessions
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.phon.worker.PhonTask
PhonTask.TaskStatus
-
Field Summary
Fields inherited from class ca.phon.worker.PhonTask
err, PROGRESS_PROP, props, STATUS_PROP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParticipant
(Participant participant) void
getRecordFilter
(SessionPath path) void
mergeDependentTiers
(Session dest, Session src) Merge dependent tiers.void
mergeSession
(Session dest, Session src, RecordFilter filter) Merge the given sessions using the given utterance filters.void
The abstract run method.void
setMergedSession
(Session session) void
setRecordFilter
(SessionPath path, RecordFilter filter) Methods inherited from class ca.phon.worker.PhonTask
addTaskListener, firePropertyChange, fireStatusChange, getException, getName, getProperty, getRunTime, getStartTime, getStatus, isShutdown, removeTaskListener, run, setName, setProperty, setStatus, shutdown
-
Constructor Details
-
SessionMerger
-
-
Method Details
-
getMergedSession
-
setMergedSession
-
getSessionPaths
-
addSessionPath
-
getParticipants
-
addParticipant
-
setRecordFilter
-
getRecordFilter
-
mergeSessions
- Throws:
IOException
-
mergeSession
Merge the given sessions using the given utterance filters.- Parameters:
dest
-src
-filter
-
-
mergeDependentTiers
Merge dependent tiers. -
performTask
public void performTask()Description copied from class:PhonTask
The abstract run method. This method must be implemented by all subclasses.- Specified by:
performTask
in classPhonTask
-