Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.automation.client.jaxrs.model
Class PropertiesHelper

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.model.PropertiesHelper

public class PropertiesHelper
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
PropertiesHelper()
           
 
Method Summary
static Boolean getBoolean(Object v, Boolean defValue)
           
static Date getDate(Object v, Date defValue)
           
static Double getDouble(Object v, Double defValue)
           
static PropertyList getList(Object v, PropertyList defValue)
           
static Long getLong(Object v, Long defValue)
           
static PropertyMap getMap(Object v, PropertyMap defValue)
           
static String getString(Object v, String defValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesHelper

public PropertiesHelper()
Method Detail

getString

public static String getString(Object v,
                               String defValue)

getBoolean

public static Boolean getBoolean(Object v,
                                 Boolean defValue)

getLong

public static Long getLong(Object v,
                           Long defValue)

getDouble

public static Double getDouble(Object v,
                               Double defValue)

getDate

public static Date getDate(Object v,
                           Date defValue)

getList

public static PropertyList getList(Object v,
                                   PropertyList defValue)

getMap

public static PropertyMap getMap(Object v,
                                 PropertyMap defValue)

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.