Package net.sf.okapi.filters.vtt
Class VTTParameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.filters.subtitles.SubtitleParameters
-
- net.sf.okapi.filters.vtt.VTTParameters
-
- All Implemented Interfaces:
Cloneable,IParameters,IEditorDescriptionProvider
public class VTTParameters extends SubtitleParameters
VTT Filter parameters- Version:
- 0.1, 07.06.23
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
-
Constructor Summary
Constructors Constructor Description VTTParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorDescriptioncreateEditorDescription(ParametersDescription paramDesc)StringgetCueSettings()booleangetDiscardCues()ParametersDescriptiongetParametersDescription()Gets the description of the parameters.voidsetCueSettings(String cueSettings)voidsetDiscardCues(boolean discardCues)-
Methods inherited from class net.sf.okapi.filters.subtitles.SubtitleParameters
createEditorDescription, getCjkCharsPerLine, getKeepTimecodes, getMaxCharsPerLine, getMaxLinesPerCaption, getSplitWords, getTimeFormat, setCjkCharsPerLine, setKeepTimecodes, setMaxCharsPerLine, setMaxLinesPerCaption, setSplitWords, setTimeFormat
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, reset, setBoolean, setGroup, setInteger, setString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Method Detail
-
getCueSettings
public String getCueSettings()
-
setCueSettings
public void setCueSettings(String cueSettings)
-
getDiscardCues
public boolean getDiscardCues()
-
setDiscardCues
public void setDiscardCues(boolean discardCues)
-
getParametersDescription
public ParametersDescription getParametersDescription()
Description copied from interface:IParametersGets the description of the parameters.- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classSubtitleParameters- Returns:
- the ParametersDescription object for this set of parameters, or null if none is provided.
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider- Overrides:
createEditorDescriptionin classSubtitleParameters
-
-