Class InetAddressConverter

java.lang.Object
org.apache.commons.beanutils2.converters.AbstractConverter<InetAddress>
org.apache.commons.beanutils2.converters.InetAddressConverter
All Implemented Interfaces:
Converter<InetAddress>

Converter implementation that handles conversion to and from InetAddress.
Since:
2.0.0
See Also:
  • Constructor Details

    • InetAddressConverter

      Construct a InetAddress Converter that throws a ConversionException if an error occurs.
    • InetAddressConverter

      public InetAddressConverter(InetAddress defaultValue)
      Constructs a Converter that will return the specified default value if a conversion error occurs.
      Parameters:
      defaultValue - The default value to be returned if the value to be converted is missing or an error occurs converting the value.
  • Method Details