public class CompressionTransformer extends Object implements DeploymentTransportInputFilter, DeploymentTransportOutputFilter
| Constructor and Description |
|---|
CompressionTransformer() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
addFilter(InputStream in,
String path,
String mimeType,
String encoding)
Add a filter to transform the payload of a deployment.
|
OutputStream |
addFilter(OutputStream out,
String path,
String mimeType,
String encoding)
Add a filter to transform the payload of a deployment.
|
public OutputStream addFilter(OutputStream out, String path, String mimeType, String encoding)
DeploymentTransportOutputFilteraddFilter in interface DeploymentTransportOutputFilterout - the output stream being filtered.path - the path of the filemimeType - the encoding of the fileencoding - the mimeType of the filepublic InputStream addFilter(InputStream in, String path, String mimeType, String encoding)
DeploymentTransportInputFilteraddFilter in interface DeploymentTransportInputFilterin - the input stream being filtered.path - the path of the filemimeType - the encoding of the fileencoding - the mimeType of the fileCopyright © 2005–2014 Alfresco Software. All rights reserved.