public interface SubtitleDecoderFactory
SubtitleDecoder
instances.Modifier and Type | Field and Description |
---|---|
static SubtitleDecoderFactory |
DEFAULT
Default
SubtitleDecoderFactory implementation. |
Modifier and Type | Method and Description |
---|---|
SubtitleDecoder |
createDecoder(Format format)
Creates a
SubtitleDecoder for the given Format . |
boolean |
supportsFormat(Format format)
Returns whether the factory is able to instantiate a
SubtitleDecoder for the given
Format . |
static final SubtitleDecoderFactory DEFAULT
SubtitleDecoderFactory
implementation.
The formats supported by this factory are:
WebvttDecoder
)Mp4WebvttDecoder
)TtmlDecoder
)SubripDecoder
)SsaDecoder
)Tx3gDecoder
)Cea608Decoder
)Cea708Decoder
)DvbDecoder
)boolean supportsFormat(Format format)
SubtitleDecoder
for the given
Format
.format
- The Format
.SubtitleDecoder
.SubtitleDecoder createDecoder(Format format)
SubtitleDecoder
for the given Format
.format
- The Format
.SubtitleDecoder
.java.lang.IllegalArgumentException
- If the Format
is not supported.