Package org.apache.tika.fuzzing.general
Class GeneralTransformer
- java.lang.Object
-
- org.apache.tika.fuzzing.general.GeneralTransformer
-
- All Implemented Interfaces:
Transformer
public class GeneralTransformer extends Object implements Transformer
-
-
Constructor Summary
Constructors Constructor Description GeneralTransformer()
GeneralTransformer(int maxTransforms, Transformer... transformers)
GeneralTransformer(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.void
transform(InputStream is, OutputStream os)
-
-
-
Constructor Detail
-
GeneralTransformer
public GeneralTransformer()
-
GeneralTransformer
public GeneralTransformer(Transformer... transformers)
-
GeneralTransformer
public GeneralTransformer(int maxTransforms, Transformer... transformers)
-
-
Method Detail
-
getSupportedTypes
public Set<MediaType> getSupportedTypes()
Description copied from interface:Transformer
Returns the set of media types supported by this parser when used with the given parse context.- Specified by:
getSupportedTypes
in interfaceTransformer
- Returns:
- immutable set of media types
-
transform
public void transform(InputStream is, OutputStream os) throws IOException, TikaException
- Specified by:
transform
in interfaceTransformer
- Throws:
IOException
TikaException
-
-