public class InetSocketAddressConverter extends Object implements Converter<InetSocketAddress>
InetSocketAddress| Constructor and Description |
|---|
InetSocketAddressConverter() |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
convertFrom(String value)
Returns a
InetSocketAddress instance representing the specified String value. |
String |
convertTo(InetSocketAddress value)
Returns a
String instance representing the configuration parameter's value. |
public InetSocketAddress convertFrom(String value)
InetSocketAddress instance representing the specified String value.convertFrom in interface Converter<InetSocketAddress>value - The configuration parameter's String representationInetSocketAddress instance representing the configuration parameter's valuepublic String convertTo(InetSocketAddress value)
String instance representing the configuration parameter's value.convertTo in interface Converter<InetSocketAddress>value - The configuration parameter's InetSocketAddress representationString instance representing the configuration parameter's typed valueCopyright © 2022. All rights reserved.