@Deprecated public interface DeploymentTransformer
| Modifier and Type | Method and Description |
|---|---|
InputStream |
transform(InputStream in,
String name)
Deprecated.
Perform transformation of streamed deployment content.
|
void |
transform(Path src,
Path target)
Deprecated.
Perform transformation of filesystem deployment content.
|
InputStream transform(InputStream in, String name) throws IOException
in - InputStream containing the deployment content to be transformed.name - the name of the deploymentIOException - if a problem occurs reading or writing the contentvoid transform(Path src, Path target) throws IOException
src - path of the deployment content to be transformedtarget - path of either the file to which the transformed content should be written or to the directory
in which it should be written. If the latter the name of the written file will be the same as
the name of the src file. Note also that target can be the same path as
src, in which case the file at src will be replaced.IOException - if a problem occurs reading or writing the contentCopyright © 2021 JBoss by Red Hat. All rights reserved.