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