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