Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.utils
Class StringUtils

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.utils.StringUtils

public final class StringUtils
extends java.lang.Object

Utility class for manipulating strings. Some methods may proxy to the correct * APIs as they are discovered.


Method Summary
static boolean isEmpty(java.lang.Object object)
          Tests if the supplied object is not null or an empty string.
static java.lang.String replaceToken(java.lang.String text, java.lang.String token, java.lang.String replacementText)
          ReplaceToken replaces in a given string.
static java.lang.String subString(java.lang.String value, int maxLength)
          Provide a substring of the provided string with a maximum lenght provided.
static boolean toBoolean(java.lang.String booleanString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isEmpty

public static boolean isEmpty(java.lang.Object object)
Tests if the supplied object is not null or an empty string.

Parameters:
object -
Returns:
boolean.

replaceToken

public static java.lang.String replaceToken(java.lang.String text,
                                            java.lang.String token,
                                            java.lang.String replacementText)
ReplaceToken replaces in a given string.

Parameters:
text - The message that needs token replacement.
token - The token to replace.
replacementText - The replacement text.
Returns:
String The message with tokens replaced.

subString

public static java.lang.String subString(java.lang.String value,
                                         int maxLength)
Provide a substring of the provided string with a maximum lenght provided.

Parameters:
table -
maxLength -

toBoolean

public static boolean toBoolean(java.lang.String booleanString)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.