public final class PropertyEditorFactory extends Object
PropertyEditor
which is appropriate for
the specified object or class.Modifier and Type | Method and Description |
---|---|
static PropertyEditor |
getInstance(Class<?> type)
Creates a new instance of editor, depending on the given type
|
static PropertyEditor |
getInstance(Object object)
Creates a new instance of editor, depending on the given object's type
|
public static PropertyEditor getInstance(Object object)
object
- The object we need an editor to be created forpublic static PropertyEditor getInstance(Class<?> type)
type
- The type of editor to createCopyright © 2004–2021 Apache MINA Project. All rights reserved.