public class PropertiesTransformer extends Object implements Transformer<Properties,Properties>
| Constructor and Description |
|---|
PropertiesTransformer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action<? super 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.
|
Properties |
transform(Properties original)
Transforms a properties object.
|
void |
transform(Properties original,
OutputStream destination)
Transforms a properties object and write them out to a stream.
|
public void addAction(Action<? super Properties> action)
action - the action to addpublic void addAction(Closure closure)
closure - the closure to addpublic Properties transform(Properties original)
transform in interface Transformer<Properties,Properties>original - the properties to transformpublic void transform(Properties original, OutputStream destination)
original - the properties to transformdestination - the stream to write the properties toCopyright © 2013. All rights reserved