Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.common.util
Class StringUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.util.StringUtils

public class StringUtils
extends java.lang.Object


Constructor Summary
StringUtils()
           
 
Method Summary
static java.lang.String escapeSplChars(java.lang.String str)
          Escape special chars like double quote, ampersand, colon, single quote.
static int getIntFromString(java.lang.String pValue)
          get int value out of String.
static java.lang.String getValue(java.lang.Object pValue)
          get String value out of Object.
static java.lang.String replace(java.lang.String s, java.lang.String s1, java.lang.String s2)
          get String value.
static java.lang.String replaceSingleQuotesByTwoSingleQuotes(java.lang.String str)
          get String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtils

public StringUtils()
Method Detail

escapeSplChars

public static java.lang.String escapeSplChars(java.lang.String str)
Escape special chars like double quote, ampersand, colon, single quote.

Parameters:
str - of type String.
Returns:
String.

replaceSingleQuotesByTwoSingleQuotes

public static java.lang.String replaceSingleQuotesByTwoSingleQuotes(java.lang.String str)
get String value.

Parameters:
str - of type String.
Returns:
String.

replace

public static java.lang.String replace(java.lang.String s,
                                       java.lang.String s1,
                                       java.lang.String s2)
                                throws java.lang.Exception
get String value.

Parameters:
s - of type String, which requires change.
s1 - of type String, which needs to be changed.
s2 - of type String, replacement string.
Returns:
String.
Throws:
java.lang.Exception

getValue

public static java.lang.String getValue(java.lang.Object pValue)
get String value out of Object.

Parameters:
pValue - of type Object
Returns:
String value of Object. If pValue == null return ""

getIntFromString

public static int getIntFromString(java.lang.String pValue)
get int value out of String.

Parameters:
pValue - of type String
Returns:
int value.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.