public class URConverterFactory extends Object implements ConverterFactory
Handles the following conversions:
Modifier and Type | Field and Description |
---|---|
static Converter |
StringToURI |
static Converter |
StringToURL |
static Converter |
URIToURL |
static Converter |
URLToURI |
SAFE_CONVERSION
Constructor and Description |
---|
URConverterFactory() |
Modifier and Type | Method and Description |
---|---|
Converter |
createConverter(Class<?> source,
Class<?> target,
Hints hints)
Creates a
Converter instance for converting one type of object to another. |
public static final Converter StringToURL
public static final Converter StringToURI
public static final Converter URLToURI
public static final Converter URIToURL
public Converter createConverter(Class<?> source, Class<?> target, Hints hints)
ConverterFactory
Converter
instance for converting one type of object to another.createConverter
in interface ConverterFactory
source
- The type to convert from.target
- The type to convert to.hints
- Hints used to be used while creating a converter.null
if one could not be found.Copyright © 1996–2023 Geotools. All rights reserved.