org.apache.commons.convert
Class NetConverters.URLToURI
java.lang.Object
org.apache.commons.convert.AbstractConverter<URL,URI>
org.apache.commons.convert.NetConverters.URLToURI
- All Implemented Interfaces:
- Converter<URL,URI>, ConverterLoader
- Enclosing class:
- NetConverters
public static class NetConverters.URLToURI
- extends AbstractConverter<URL,URI>
An object that converts a URL
to a
URI
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetConverters.URLToURI
public NetConverters.URLToURI()
convert
public URI convert(URL obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.