Class DeprecatedStreamingZipContainerDetector

java.lang.Object
org.apache.tika.detect.zip.DeprecatedStreamingZipContainerDetector
All Implemented Interfaces:
Serializable, org.apache.tika.detect.Detector

public class DeprecatedStreamingZipContainerDetector extends Object implements org.apache.tika.detect.Detector
See Also:
  • Constructor Details

    • DeprecatedStreamingZipContainerDetector

      public DeprecatedStreamingZipContainerDetector()
  • Method Details

    • detect

      public org.apache.tika.mime.MediaType detect(InputStream is, org.apache.tika.metadata.Metadata metadata)
      Specified by:
      detect in interface org.apache.tika.detect.Detector
      Parameters:
      is - inputstream to read from. Callers must mark/reset the stream before/after this call to detect. This call does not close the stream! Depending on the file type, this call to detect may read the entire stream. Make sure to use a BoundedInputStream or similar if you want to protect against reading the entire stream.
      Returns: