public class InetSocketAddressTransformer extends Object implements PropertyTransformer<InetSocketAddress>
| Modifier and Type | Field and Description |
|---|---|
static InetSocketAddressTransformer |
SHARED_INSTANCE
Shared instance of this transformer.
|
| Constructor and Description |
|---|
InetSocketAddressTransformer() |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
transform(String value,
Field field)
Transforms string to InetSocketAddress
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic static final InetSocketAddressTransformer SHARED_INSTANCE
public InetSocketAddress transform(String value, Field field) throws TransformationException
transform in interface PropertyTransformer<InetSocketAddress>value - value that will be transformedfield - value will be assigned to this fieldTransformationException - if somehting went wrongCopyright © 2014–2015. All rights reserved.