Top Description Constructors Methods
com.beust.jcommander.converters

public Class URLConverter

extends BaseConverter<URL>
Class Inheritance
Imports
com.beust.jcommander.ParameterException, java.net.MalformedURLException, .URL

Convert a string into a URI.
Author
samvv

Constructor Summary

AccessConstructor and Description
public
URLConverter(String optionName)

Method Summary

Modifier and TypeMethod and Description
public URL
Inherited from com.beust.jcommander.converters.BaseConverter:
getErrorStringgetOptionName

Constructor Detail

URLConverterback to summary
public URLConverter(String optionName)

Method Detail

convertback to summary
public URL convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:URL

Doc from com.beust.jcommander.IStringConverter.convert.

an object of type T created from the parameter value.