Class JsonFormatParser
java.lang.Object
com.github.kokorin.jaffree.ffprobe.data.JsonFormatParser
- All Implemented Interfaces:
FormatParser
ffprobe json format output parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns format name which is passed to ffprobe via -print_format argument.parse(InputStream inputStream) Parses JSON fromInputStreamand coverts it toProbeData.
-
Constructor Details
-
JsonFormatParser
public JsonFormatParser()
-
-
Method Details
-
getFormatName
Returns format name which is passed to ffprobe via -print_format argument.- Specified by:
getFormatNamein interfaceFormatParser- Returns:
- format name
-
parse
Parses JSON fromInputStreamand coverts it toProbeData.- Specified by:
parsein interfaceFormatParser- Parameters:
inputStream- input stream- Returns:
- ProbeData
-