Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.util
Class ExtendedPropertyUtils

java.lang.Object
  extended by com.jivesoftware.util.ExtendedPropertyUtils

public class ExtendedPropertyUtils
extends java.lang.Object

ExtendedPropertyUtils provides utility methods for working with extended properties. This includes a validation method for


Constructor Summary
ExtendedPropertyUtils()
           
 
Method Summary
static java.lang.String validateExtendedProperty(java.lang.String key, java.lang.String value)
          Validates an Extended Property key and value to ensure that they are not null and that the key is not an empty string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedPropertyUtils

public ExtendedPropertyUtils()
Method Detail

validateExtendedProperty

public static java.lang.String validateExtendedProperty(java.lang.String key,
                                                        java.lang.String value)
Validates an Extended Property key and value to ensure that they are not null and that the key is not an empty string. Note that the method requester should use the returned value since the value may be modified to account for Oracle's inability differentiate between an empty string and a null value.

Parameters:
key - the key for the property
value - the value for the property
Returns:
the cleaned value. This value should be used in place of the value passed in to the method.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.