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
Exception
public static <P> P setData(P obj, Map<String,Object> data) throws Exception
Exception
public 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
Exception
public static String decodeURI(String value) throws UnsupportedEncodingException
UnsupportedEncodingException
public static String encodeURI(String value) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2017 JBoss by Red Hat. All rights reserved.