Class FlatFormatParser

java.lang.Object
com.github.kokorin.jaffree.ffprobe.data.FlatFormatParser
All Implemented Interfaces:
FormatParser

@Deprecated public class FlatFormatParser extends Object implements FormatParser
Deprecated.
ffprobe flat format output parser.
  • Constructor Details

    • FlatFormatParser

      public FlatFormatParser()
      Deprecated.
  • Method Details

    • getFormatName

      public String getFormatName()
      Deprecated.
      Returns format name which is passed to ffprobe via -print_format argument.
      Specified by:
      getFormatName in interface FormatParser
      Returns:
      format name
    • parse

      public ProbeData parse(InputStream inputStream)
      Deprecated.
      Parses input stream.
      Specified by:
      parse in interface FormatParser
      Parameters:
      inputStream - input stream
      Returns:
      parsed Data
    • setKeyValue

      protected boolean setKeyValue(TreeMap<String,Object> data, String key, String value)
      Deprecated.
      Parses and sets key-value to specified data.
      Parameters:
      data - data to add key-value to
      key - key
      value - value
      Returns:
      true if parsed and set
    • fixValue

      protected String fixValue(String value)
      Deprecated.
      Removes starting-ending quotes and back slashes form value.
      Parameters:
      value - value
      Returns:
      un-escaped value