public static class PropertyConverters.Default extends Object implements PropertyConverter
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object obj,
Class<?> propertyFieldType,
String propertyName,
String propertyValue,
boolean check_scope) |
protected static InetAddress |
convertBindAddress(String value) |
protected static InetAddress |
getAddressByCustomCode(String value) |
protected static Inet6Address |
getScopedInetAddress(Inet6Address addr) |
String |
toString(Object value)
Converts the value to a string.
|
public Object convert(Object obj, Class<?> propertyFieldType, String propertyName, String propertyValue, boolean check_scope) throws Exception
convert
in interface PropertyConverter
Exception
protected static InetAddress convertBindAddress(String value) throws Exception
Exception
protected static InetAddress getAddressByCustomCode(String value) throws Exception
Exception
protected static Inet6Address getScopedInetAddress(Inet6Address addr)
public String toString(Object value)
PropertyConverter
toString
in interface PropertyConverter
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.