Package org.apache.ofbiz.base.conversion
Class NetConverters.URLToURI
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.net.URL,java.net.URI>
-
- org.apache.ofbiz.base.conversion.NetConverters.URLToURI
-
- All Implemented Interfaces:
Converter<java.net.URL,java.net.URI>
,ConverterLoader
- Enclosing class:
- NetConverters
public static class NetConverters.URLToURI extends AbstractConverter<java.net.URL,java.net.URI>
-
-
Constructor Summary
Constructors Constructor Description URLToURI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URI
convert(java.net.URL obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.net.URI convert(java.net.URL obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-