Package org.apache.tika.fuzzing.general
Class Truncator
java.lang.Object
org.apache.tika.fuzzing.general.Truncator
- 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
transform
(InputStream is, OutputStream os)
-
Constructor Details
-
Truncator
public Truncator()
-
-
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
-