public class AutoDetectTransformer extends Object implements Transformer
| Constructor and Description |
|---|
AutoDetectTransformer() |
AutoDetectTransformer(List<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 AutoDetectTransformer()
public AutoDetectTransformer(List<Transformer> transformers)
public Set<MediaType> getSupportedTypes()
TransformergetSupportedTypes in interface Transformerpublic void transform(InputStream is, OutputStream os) throws IOException, TikaException
transform in interface TransformerIOExceptionTikaExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.