public class CompressionTransformer extends java.lang.Object implements DeploymentTransportInputFilter, DeploymentTransportOutputFilter
| Constructor and Description |
|---|
CompressionTransformer() |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
addFilter(java.io.InputStream in,
java.lang.String path,
java.lang.String mimeType,
java.lang.String encoding)
Add a filter to transform the payload of a deployment.
|
java.io.OutputStream |
addFilter(java.io.OutputStream out,
java.lang.String path,
java.lang.String mimeType,
java.lang.String encoding)
Add a filter to transform the payload of a deployment.
|
public java.io.OutputStream addFilter(java.io.OutputStream out,
java.lang.String path,
java.lang.String mimeType,
java.lang.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 java.io.InputStream addFilter(java.io.InputStream in,
java.lang.String path,
java.lang.String mimeType,
java.lang.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 - 2010 Alfresco Software, Inc. All Rights Reserved.