public class GeneralTransformer extends Object implements Transformer
Constructor and Description |
---|
GeneralTransformer() |
GeneralTransformer(int maxTransforms,
Transformer... transformers) |
GeneralTransformer(Transformer... transformers) |
Modifier and Type | Method and 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) |
public GeneralTransformer()
public GeneralTransformer(Transformer... transformers)
public GeneralTransformer(int maxTransforms, Transformer... transformers)
public Set<MediaType> getSupportedTypes()
Transformer
getSupportedTypes
in interface Transformer
public void transform(InputStream is, OutputStream os) throws IOException, TikaException
transform
in interface Transformer
IOException
TikaException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.