|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tika.detect.ZipContainerDetector
public class ZipContainerDetector
A detector that works on a Zip document to figure out exactly what the file is
| Constructor Summary | |
|---|---|
ZipContainerDetector()
|
|
| Method Summary | |
|---|---|
MediaType |
detect(java.io.InputStream input,
Metadata metadata)
Detect on the generic input stream, if possible. |
MediaType |
detect(TikaInputStream input,
Metadata metadata)
Does full, container aware detection for the file of the appropriate container type. |
MediaType |
getDefault()
What is the default type returned by this detector, when it can't figure out anything more specific? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZipContainerDetector()
| Method Detail |
|---|
public MediaType getDefault()
ContainerDetector
getDefault in interface ContainerDetector
public MediaType detect(java.io.InputStream input,
Metadata metadata)
throws java.io.IOException
ContainerDetectorTikaInputStream is needed for proper detection.
detect in interface ContainerDetectordetect in interface Detectorjava.io.IOException
public MediaType detect(TikaInputStream input,
Metadata metadata)
throws java.io.IOException
ContainerDetector
detect in interface ContainerDetectorjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||