public class PropertiesTransformer extends java.lang.Object implements Transformer<java.util.Properties,java.util.Properties>
| Constructor and Description |
|---|
PropertiesTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action<? super java.util.Properties> action)
Adds an action to be executed when properties are transformed.
|
void |
addAction(Closure closure)
Adds an action to be executed when properties are transformed.
|
java.util.Properties |
transform(java.util.Properties original)
Transforms a properties object.
|
void |
transform(java.util.Properties original,
java.io.OutputStream destination)
Transforms a properties object and write them out to a stream.
|
public void addAction(Action<? super java.util.Properties> action)
action - the action to addpublic void addAction(Closure closure)
closure - the closure to addpublic java.util.Properties transform(java.util.Properties original)
transform in interface Transformer<java.util.Properties,java.util.Properties>original - the properties to transformpublic void transform(java.util.Properties original,
java.io.OutputStream destination)
original - the properties to transformdestination - the stream to write the properties toCopyright © 2013. All rights reserved