Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.adfinternal.model.adapter.utils
Class Utility

java.lang.Object
  extended by oracle.adfinternal.model.adapter.utils.Utility


public class Utility
extends java.lang.Object

This class contains various utilities used across the adapter data control. The major utility methods included here are -

 1. Get the the parameter list from the string containing params
 2. Substitute the param values in the string containing params
 

Constructor Summary
Utility()
           

 

Method Summary
static java.util.List getParamList(java.lang.String inStr)
          Get the list of parameters from a string containing params marked between ## marks.
static java.lang.String substituteParamValue(java.lang.String inStr, java.util.Map params)
          Substitute the parameters with the values.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Utility

public Utility()

Method Detail

getParamList

public static java.util.List getParamList(java.lang.String inStr)
Get the list of parameters from a string containing params marked between ## marks.
Parameters:
inStr - Input string to search for pameters.
Returns:
The list of paramater names.

substituteParamValue

public static java.lang.String substituteParamValue(java.lang.String inStr,
                                                    java.util.Map params)
Substitute the parameters with the values. Params are stuffed within ##. The values of the parameters are deined in the name value pair passed.
Parameters:
inStr - String that may contain parameters.
params - Parameter name value pairs.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.