org.alfresco.deployment.test
Class TestDeploymentTransportTransformer
java.lang.Object
org.alfresco.deployment.test.TestDeploymentTransportTransformer
- All Implemented Interfaces:
- DeploymentTransportInputFilter, DeploymentTransportOutputFilter
public class TestDeploymentTransportTransformer
- extends java.lang.Object
- implements DeploymentTransportInputFilter, DeploymentTransportOutputFilter
This test deployment transformer simply returns the data it was given
Method Summary |
java.io.InputStream |
addFilter(java.io.InputStream in,
java.lang.String path,
java.lang.String encoding,
java.lang.String mimeType)
In-bound filter |
java.io.OutputStream |
addFilter(java.io.OutputStream out,
java.lang.String path,
java.lang.String encoding,
java.lang.String mimeType)
Outgoing filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDeploymentTransportTransformer
public TestDeploymentTransportTransformer()
addFilter
public java.io.OutputStream addFilter(java.io.OutputStream out,
java.lang.String path,
java.lang.String encoding,
java.lang.String mimeType)
- Outgoing filter
- Specified by:
addFilter
in interface DeploymentTransportOutputFilter
- Parameters:
out
- the output stream being filtered.path
- the path of the fileencoding
- the encoding of the filemimeType
- the mimeType of the file
- Returns:
- the filtered output stream
addFilter
public java.io.InputStream addFilter(java.io.InputStream in,
java.lang.String path,
java.lang.String encoding,
java.lang.String mimeType)
- In-bound filter
- Specified by:
addFilter
in interface DeploymentTransportInputFilter
- Parameters:
in
- the input stream being filtered.path
- the path of the fileencoding
- the encoding of the filemimeType
- the mimeType of the file
- Returns:
- the filtered input stream
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.