public class BeanSupport extends Object
| Constructor and Description |
|---|
BeanSupport() |
| Modifier and Type | Method and Description |
|---|---|
static <P> P |
copyData(P source,
P target) |
static String |
decodeURI(String value) |
static String |
encodeURI(String value) |
static String |
getData(List<String> ignored,
Object... beans) |
static void |
registerConverter(org.apache.commons.beanutils.Converter converter,
Class type) |
static <P> P |
setData(P obj,
Map<String,Object> data) |
static void |
setData(URI uri,
HashMap<String,Object> properties,
Set<String> allowableProperties,
Map<String,String> query,
Map<String,Object> extraProps) |
static <P> P |
setData(URI uri,
P obj,
Map<String,String> query) |
public static void registerConverter(org.apache.commons.beanutils.Converter converter,
Class type)
public static <P> P setData(URI uri, P obj, Map<String,String> query) throws Exception
Exceptionpublic static <P> P setData(P obj,
Map<String,Object> data)
throws Exception
Exceptionpublic static void setData(URI uri, HashMap<String,Object> properties, Set<String> allowableProperties, Map<String,String> query, Map<String,Object> extraProps)
public static String getData(List<String> ignored, Object... beans) throws Exception
Exceptionpublic static String decodeURI(String value) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String encodeURI(String value) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.