|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarytts.tools.voiceimport.VoiceImportComponent
marytts.tools.voiceimport.AbstractTimelineMaker
public abstract class AbstractTimelineMaker
| Field Summary | |
|---|---|
protected TimelineReader |
basenameTimeline
|
protected java.lang.String |
BASENAMETIMELINE
|
protected java.lang.String |
DATADIR
|
protected java.lang.String |
DATAEXT
|
protected TimelineWriter |
dataTimeline
|
protected java.lang.String |
DATATIMELINE
|
protected DatabaseLayout |
db
|
protected int |
percent
|
| Fields inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
bnl, logger, props, props2Help |
| Constructor Summary | |
|---|---|
AbstractTimelineMaker()
|
|
| Method Summary | |
|---|---|
boolean |
compute()
Read and concatenate a list of data files into a single timeline file. |
java.util.SortedMap<java.lang.String,java.lang.String> |
getDefaultProps(DatabaseLayout theDB)
Get the map of properties2values containing the default values |
protected abstract java.lang.String |
getProcessingHeader()
generate a processing header for the TimelineWriter |
int |
getProgress()
Provide the progress of computation, in percent, or -1 if that feature is not implemented. |
abstract java.lang.String |
getType()
get the type of this VoiceImportComponent |
protected void |
initializeDataTimeline(marytts.tools.voiceimport.AbstractDataFile dataFile)
initialize the data timeline, using one AbstractDataFile to provide the parameters |
protected abstract marytts.tools.voiceimport.AbstractDataFile |
loadDataFile(java.io.File file)
load an AbstractDataFile |
protected void |
setupHelp()
|
| Methods inherited from class marytts.tools.voiceimport.VoiceImportComponent |
|---|
getHelpText, getHelpTextForProp, getName, getProp, initialise, initialiseComp, setProp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String DATADIR
protected final java.lang.String DATATIMELINE
protected final java.lang.String BASENAMETIMELINE
protected final java.lang.String DATAEXT
protected int percent
protected DatabaseLayout db
protected TimelineWriter dataTimeline
protected TimelineReader basenameTimeline
| Constructor Detail |
|---|
public AbstractTimelineMaker()
| Method Detail |
|---|
public abstract java.lang.String getType()
VoiceImportComponent
public java.util.SortedMap<java.lang.String,java.lang.String> getDefaultProps(DatabaseLayout theDB)
getDefaultProps in class VoiceImportComponentprotected void setupHelp()
setupHelp in class VoiceImportComponent
public boolean compute()
throws java.io.IOException
compute in class VoiceImportComponentjava.io.IOExceptionprotected abstract marytts.tools.voiceimport.AbstractDataFile loadDataFile(java.io.File file)
AbstractDataFile
file - to load
protected void initializeDataTimeline(marytts.tools.voiceimport.AbstractDataFile dataFile)
throws java.io.IOException
AbstractDataFile to provide the parameters
dataFile - to provide parameters
java.io.IOException
protected abstract java.lang.String getProcessingHeader()
throws java.io.IOException
TimelineWriter
java.io.IOExceptionpublic int getProgress()
getProgress in class VoiceImportComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||