Package org.apache.tika.detect.gzip
Class GZipSpecializationDetector
- java.lang.Object
-
- org.apache.tika.detect.gzip.GZipSpecializationDetector
-
- All Implemented Interfaces:
Serializable,org.apache.tika.detect.Detector
public class GZipSpecializationDetector extends Object implements org.apache.tika.detect.Detector
This is designed to detect commonly gzipped file types such as warc.gz. This is a first step. We still need to implement tar.gz and svg.gz and ???- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GZipSpecializationDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tika.mime.MediaTypedetect(InputStream input, org.apache.tika.metadata.Metadata metadata)
-
-
-
Method Detail
-
detect
public org.apache.tika.mime.MediaType detect(InputStream input, org.apache.tika.metadata.Metadata metadata) throws IOException
- Specified by:
detectin interfaceorg.apache.tika.detect.Detector- Throws:
IOException
-
-