Class InternetDomainNameConverter
java.lang.Object
com.github.joschi.jadconfig.guava.converters.InternetDomainNameConverter
- All Implemented Interfaces:
Converter<com.google.common.net.InternetDomainName>
public class InternetDomainNameConverter
extends Object
implements Converter<com.google.common.net.InternetDomainName>
Converter for type
InternetDomainName.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.net.InternetDomainNameconvertFrom(String value) Returns aInternetDomainNameinstance representing the specifiedStringvalue.convertTo(com.google.common.net.InternetDomainName value) Returns aStringinstance representing the configuration parameter's value.
-
Constructor Details
-
InternetDomainNameConverter
public InternetDomainNameConverter()
-
-
Method Details
-
convertFrom
Returns aInternetDomainNameinstance representing the specifiedStringvalue.- Specified by:
convertFromin interfaceConverter<com.google.common.net.InternetDomainName>- Parameters:
value- The configuration parameter'sStringvalue- Returns:
- An
InternetDomainNameinstance representing the configuration parameter's value
-
convertTo
Returns aStringinstance representing the configuration parameter's value.
-