spring-framework / org.springframework.beans.propertyeditors / ByteArrayPropertyEditor

ByteArrayPropertyEditor

open class ByteArrayPropertyEditor : PropertyEditorSupport

Editor for byte arrays. Strings will simply be converted to their corresponding byte representations.

Author
Juergen Hoeller

Since
1.0.1

See Also
java.lang.String#getBytes

Constructors

<init>

ByteArrayPropertyEditor()

Editor for byte arrays. Strings will simply be converted to their corresponding byte representations.

Functions

getAsText

open fun getAsText(): String

setAsText

open fun setAsText(text: String): Unit

Inheritors

ByteArrayMultipartFileEditor

open class ByteArrayMultipartFileEditor : ByteArrayPropertyEditor

Custom java.beans.PropertyEditor for converting MultipartFile to byte arrays.