|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.rational.rpe.common.utils.PropertyUtils
public class PropertyUtils
| Constructor Summary | |
|---|---|
PropertyUtils()
|
|
| Method Summary | |
|---|---|
static Property |
clone(Property source)
|
static Property |
cloneSameValue(Property source)
Creates a clone of this property but assigns the same value to it |
static boolean |
compareProperties(java.util.Collection<Property> properties1,
java.util.Collection<Property> properties2)
|
static boolean |
compareProperties(Property prop1,
Property prop2)
|
static java.lang.String |
extractSystemVariables(java.lang.String prop)
|
static Property |
findCreateProperty(Feature context,
java.lang.String propname)
|
static Property |
findFirstProperty(Feature context,
java.lang.String featurePath,
java.lang.String propertyName)
Deprecated. |
static java.util.List<Property> |
findPropertiesByName(Feature context,
java.lang.String name)
|
static java.util.List<Property> |
findPropertiesByType(Feature context,
java.lang.String type)
Deprecated. |
static Property |
findProperty(java.util.Collection<Property> properties,
java.lang.String name)
|
static Property |
findProperty(Feature context,
java.lang.String name)
|
static Property |
findProperty(java.util.List<Property> properties,
java.lang.String name)
|
static Property |
findPropertyDeep(Feature context,
java.lang.String name)
|
static java.lang.String |
getPropertyRawValue(Property prop,
java.lang.String emptyValue)
|
static boolean |
hasPropertiesWithType(Feature context,
java.lang.String type)
|
static Property |
makeProperty(java.lang.String proptag,
java.lang.String valtag,
java.lang.String valcontent)
|
static boolean |
removeFeature(Feature context,
Feature removed)
Deprecated. |
static boolean |
removeProperty(Feature context,
Property property)
Deprecated. |
static boolean |
removeProperty(Feature context,
java.lang.String name)
|
static void |
setProperty(Feature context,
java.lang.String propname,
Value value)
|
static void |
setPropertyValue(Property prop,
Value value)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyUtils()
| Method Detail |
|---|
public static Property makeProperty(java.lang.String proptag,
java.lang.String valtag,
java.lang.String valcontent)
public static Property clone(Property source)
public static Property cloneSameValue(Property source)
source -
public static Property findProperty(java.util.Collection<Property> properties,
java.lang.String name)
properties - name -
public static Property findProperty(Feature context,
java.lang.String name)
public static Property findPropertyDeep(Feature context,
java.lang.String name)
@Deprecated
public static Property findFirstProperty(Feature context,
java.lang.String featurePath,
java.lang.String propertyName)
context - featurePath - propertyName -
@Deprecated
public static java.util.List<Property> findPropertiesByType(Feature context,
java.lang.String type)
public static boolean hasPropertiesWithType(Feature context,
java.lang.String type)
public static java.util.List<Property> findPropertiesByName(Feature context,
java.lang.String name)
public static boolean compareProperties(Property prop1,
Property prop2)
public static boolean compareProperties(java.util.Collection<Property> properties1,
java.util.Collection<Property> properties2)
public static Property findProperty(java.util.List<Property> properties,
java.lang.String name)
public static boolean removeProperty(Feature context,
java.lang.String name)
@Deprecated
public static boolean removeProperty(Feature context,
Property property)
context - property -
@Deprecated
public static boolean removeFeature(Feature context,
Feature removed)
context - removed -
public static void setProperty(Feature context,
java.lang.String propname,
Value value)
public static Property findCreateProperty(Feature context,
java.lang.String propname)
public static java.lang.String getPropertyRawValue(Property prop,
java.lang.String emptyValue)
prop - emptyValue -
@Deprecated
public static void setPropertyValue(Property prop,
Value value)
public static java.lang.String extractSystemVariables(java.lang.String prop)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||