class UrlValueConverter extends AbstractValueConverter<URL> {

	@Override
	public URL convert(String s) throws IllegalArgumentException {
		try {
			return new URL(StringUtils.removeTrailingSlash(s));
		} catch (MalformedURLException e) {
			throw new IllegalArgumentException(e.getMessage());
		}
	}

	private  UrlValueConverter();

}