Package org.apache.tika.fuzzing.general
Class ByteFlipper
java.lang.Object
org.apache.tika.fuzzing.general.ByteFlipper
- All Implemented Interfaces:
Transformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of media types supported by this parser when used with the given parse context.voidsetPercentCorrupt(float percentCorrupt) voidtransform(InputStream is, OutputStream os)
-
Constructor Details
-
ByteFlipper
public ByteFlipper()
-
-
Method Details
-
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
- Specified by:
transformin interfaceTransformer- Throws:
IOException
-
setPercentCorrupt
public void setPercentCorrupt(float percentCorrupt)
-