Package org.springframework.beans.propertyeditors


@NonNullApi @NonNullFields package org.springframework.beans.propertyeditors
Properties editors used to convert from String values to object types such as java.util.Properties.

Some of these editors are registered automatically by BeanWrapperImpl. "CustomXxxEditor" classes are intended for manual registration in specific binding processes, as they are localized or the like.

  • Classes
    Class
    Description
    Editor for byte arrays.
    Editor for a Character, to populate a property of type Character or char from a String value.
    Editor for char arrays.
    Editor for java.nio.charset.Charset, translating charset String representations into Charset objects and back.
    Property editor for an array of Classes, to enable the direct population of a Class[] property without having to use a String class name property as bridge.
    Property editor for java.lang.Class, to enable the direct population of a Class property without recourse to having to use a String class name property as bridge.
    Editor for java.util.Currency, translating currency codes into Currency objects.
    Property editor for Boolean/boolean properties.
    Property editor for Collections, converting any source Collection to a given target Collection type.
    Property editor for java.util.Date, supporting a custom java.text.DateFormat.
    Property editor for Maps, converting any source Map to a given target Map type.
    Property editor for any Number subclass such as Short, Integer, Long, BigInteger, Float, Double, BigDecimal.
    Editor for java.io.File, to directly populate a File property from a Spring resource location.
    Editor for org.xml.sax.InputSource, converting from a Spring resource location String to a SAX InputSource object.
    One-way PropertyEditor which can convert from a text String to a java.io.InputStream, interpreting the given String as a Spring resource location (e.g.
    Editor for java.util.Locale, to directly populate a Locale property.
    Editor for java.nio.file.Path, to directly populate a Path property instead of using a String property as bridge.
    Editor for java.util.regex.Pattern, to directly populate a Pattern property.
    Custom PropertyEditor for Properties objects.
    One-way PropertyEditor which can convert from a text String to a java.io.Reader, interpreting the given String as a Spring resource location (e.g.
    PropertyEditor implementation for standard JDK ResourceBundles.
    Custom PropertyEditor for String arrays.
    Property editor that trims Strings.
    Editor for java.util.TimeZone, translating timezone IDs into TimeZone objects.
    Editor for java.net.URI, to directly populate a URI property instead of using a String property as bridge.
    Editor for java.net.URL, to directly populate a URL property instead of using a String property as bridge.
    Editor for java.util.UUID, translating UUID String representations into UUID objects and back.
    Editor for java.time.ZoneId, translating time zone Strings into ZoneId objects.