public class MediaParser extends AbstractParser<MediaSource>
InputParser implementation for
consuming media data and exposing it as an MediaSource result.altFormat, resultType| Constructor and Description |
|---|
MediaParser() |
| Modifier and Type | Method and Description |
|---|---|
<R extends MediaSource> |
parse(ParseSource parseSource,
InputProperties inProps,
java.lang.Class<R> resultClass)
Parses data in the supported representation format from the input stream
based upon the provided input properties into the provided target object.
|
createResult, createResult, getAltFormat, getResultTypepublic <R extends MediaSource> R parse(ParseSource parseSource, InputProperties inProps, java.lang.Class<R> resultClass)
InputParserparseSource - providing the source of the datainProps - properties describing the input dataresultClass - specific type of result expected from the parse