spring-framework / org.springframework.beans.propertyeditors / URIEditor / <init>

<init>

URIEditor()

Create a new, encoding URIEditor, converting "classpath:" locations into standard URIs (not trying to resolve them into physical resources).

URIEditor(encode: Boolean)

Create a new URIEditor, converting "classpath:" locations into standard URIs (not trying to resolve them into physical resources).

Parameters

encode - indicates whether Strings will be encoded or not

URIEditor(@Nullable classLoader: ClassLoader)

Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.

Parameters

classLoader - the ClassLoader to use for resolving "classpath:" locations (may be null to indicate the default ClassLoader)

URIEditor(@Nullable classLoader: ClassLoader, encode: Boolean)

Create a new URIEditor, using the given ClassLoader to resolve "classpath:" locations into physical resource URLs.

Parameters

classLoader - the ClassLoader to use for resolving "classpath:" locations (may be null to indicate the default ClassLoader)

encode - indicates whether Strings will be encoded or not