Package org.wildfly.galleon.plugin
Class PropertyReplacer
- java.lang.Object
-
- org.wildfly.galleon.plugin.PropertyReplacer
-
public class PropertyReplacer extends java.lang.ObjectUtility that copies content from reader to writer replacing the properties.- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Constructor Description PropertyReplacer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopy(java.io.Reader reader, java.io.Writer writer, PropertyResolver properties)static voidcopy(java.nio.file.Path src, java.nio.file.Path target, PropertyResolver resolver)
-
-
-
Method Detail
-
copy
public static void copy(java.nio.file.Path src, java.nio.file.Path target, PropertyResolver resolver) throws java.io.IOException- Throws:
java.io.IOException
-
copy
public static void copy(java.io.Reader reader, java.io.Writer writer, PropertyResolver properties) throws java.io.IOException- Throws:
java.io.IOException
-
-