Class PropertiesUtil

java.lang.Object
org.kuali.rice.kew.engine.node.PropertiesUtil

public final class PropertiesUtil extends Object
A utility class for reading properties from a document.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Method Details

    • readResource

      public static String readResource(InputStream stream) throws IOException
      Throws:
      IOException
    • retrieveProperty

      public static Object retrieveProperty(String name, RouteContext context)
      Resolves the specified name as a qualified property
      Parameters:
      name - the qualified property name
      Returns:
      value if found, null otherwise
    • retrieveProperty

      public static Object retrieveProperty(String name, PropertyScheme defaultScheme, RouteContext context)
      Resolves the specified name as an unqualified property
      Parameters:
      name - the potentially unqualified property name
      defaultScheme - the default scheme to use if the property is unqualified
      Returns:
      value if found, null otherwise
    • retrieveProperty

      public static Object retrieveProperty(Property prop, PropertyScheme defaultScheme, RouteContext context)
      Resolves the specified name as an unqualified property
      Parameters:
      prop - the potentially unqualified property
      defaultScheme - the default scheme to use if the property is unqualified
      Returns:
      value if found, null otherwise
    • retrieveProperty

      public static Object retrieveProperty(Property prop, RouteContext context)
      Resolves the specified name as a qualified property
      Parameters:
      prop - the qualified property
      Returns:
      value if found, null otherwise