Extract Metadata for Stream Filtering

To extract metadata for stream filtering

  1. Optionally, set the input source using the setInputSource(java.io.InputStream input) method of the Filter object.
  2. If the input source was set in step 1, call the getSummaryInfo() method of the Filter object to retrieve an object of the SummaryInfo class. Otherwise, call the getSummaryInfo(java.io.InputStream in) method.
  3. Use the methods of the SummaryInfo object to retrieve the metadata information.