Interface DeploymentTransformer
-
@Deprecated public interface DeploymentTransformer
Deprecated.Performs transformation operations on deployment content. This interface is experimental and may be removed or altered at any time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description InputStreamtransform(InputStream in, String name)Deprecated.Perform transformation of streamed deployment content.voidtransform(Path src, Path target)Deprecated.Perform transformation of filesystem deployment content.
-
-
-
Method Detail
-
transform
InputStream transform(InputStream in, String name) throws IOException
Deprecated.Perform transformation of streamed deployment content.- Parameters:
in- InputStream containing the deployment content to be transformed.name- the name of the deployment- Returns:
- an input stream from which the transformed content can be read.
- Throws:
IOException- if a problem occurs reading or writing the content
-
transform
void transform(Path src, Path target) throws IOException
Deprecated.Perform transformation of filesystem deployment content.- Parameters:
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 thesrcfile. Note also thattargetcan be the same path assrc, in which case the file atsrcwill be replaced.- Throws:
IOException- if a problem occurs reading or writing the content
-
-