Package org.apache.tika.fuzzing
Interface Transformer
-
- All Known Implementing Classes:
AutoDetectTransformer
,ByteDeleter
,ByteFlipper
,ByteInjector
,GeneralTransformer
,PDFTransformer
,SpanSwapper
,Truncator
public interface Transformer
-
-
Method Summary
All Methods Instance Methods Abstract 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)
-
-
-
Method Detail
-
getSupportedTypes
Set<MediaType> getSupportedTypes()
Returns the set of media types supported by this parser when used with the given parse context.- Returns:
- immutable set of media types
- Since:
- Apache Tika 1.24.1
-
transform
void transform(InputStream is, OutputStream os) throws IOException, TikaException
- Throws:
IOException
TikaException
-
-