Package org.apache.tika.fuzzing
Class AutoDetectTransformer
- java.lang.Object
-
- org.apache.tika.fuzzing.AutoDetectTransformer
-
- All Implemented Interfaces:
Transformer
public class AutoDetectTransformer extends Object implements Transformer
-
-
Constructor Summary
Constructors Constructor Description AutoDetectTransformer()AutoDetectTransformer(List<Transformer> transformers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<MediaType>getSupportedTypes()Returns the set of media types supported by this parser when used with the given parse context.voidtransform(InputStream is, OutputStream os)
-
-
-
Constructor Detail
-
AutoDetectTransformer
public AutoDetectTransformer()
-
AutoDetectTransformer
public AutoDetectTransformer(List<Transformer> transformers)
-
-
Method Detail
-
getSupportedTypes
public Set<MediaType> getSupportedTypes()
Description copied from interface:TransformerReturns the set of media types supported by this parser when used with the given parse context.- Specified by:
getSupportedTypesin interfaceTransformer- Returns:
- immutable set of media types
-
transform
public void transform(InputStream is, OutputStream os) throws IOException, TikaException
- Specified by:
transformin interfaceTransformer- Throws:
IOExceptionTikaException
-
-