Extract Metadata for Stream Filtering
To extract metadata for stream filtering
-
Optionally, set the input source using one of the following methods of the
Filterobject:-
setInputSource(com.verity.api.SeekableInputStream input) -
setInputSource(java.io.InputStream input, long size) -
setInputSource(java.io.InputStream input)
-
-
If you set the input source in step 1, call the
getSummaryInfo()method of theFilterobject to retrieve an object of theSummaryInfoclass. Otherwise, call one of the following methods:-
getSummaryInfo(com.verity.api.SeekableInputStream input) -
getSummaryInfo(java.io.InputStream input, long size) -
getSummaryInfo(java.io.InputStream input)
-
-
Use the methods of the
SummaryInfoobject to retrieve the metadata information.
TIP: Micro Focus recommends that you provide a SeekableInputStream. See Input/Output Operations.