org.exolab.jmscts.core
Class PropertyHelper

java.lang.Object
  |
  +--org.exolab.jmscts.core.PropertyHelper

public final class PropertyHelper
extends java.lang.Object

Helper for manipulating Property instances

Version:
$Revision: 1.3 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson

Method Summary
static java.lang.Object create(Property property)
          Creates an objectified primitive from the supplied property
static Property create(java.lang.String name, java.lang.Object value)
          Creates a property for the supplied name and value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Property create(java.lang.String name,
                              java.lang.Object value)
Creates a property for the supplied name and value
Parameters:
name - the name of the property
value - the value of the property
Returns:
a new property

create

public static java.lang.Object create(Property property)
Creates an objectified primitive from the supplied property
Parameters:
property - the property to construct the object from
Returns:
the objectified primitive


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.