JavaScript API Reference for Oracle ADF Faces
oracle.adf.view.js.base
Class AdfStrings
org.ecmascript.object.Object
|
+--oracle.adf.view.js.base.AdfStrings
public class AdfStrings
extends Object
Holder of commonly used string constants
Constructor Summary
|
public |
AdfStrings()
-
Holder of commonly used string constants
|
Method Summary
|
public static Number |
count(String searchString, Object matchString)
-
Returns the number of non-overlapping times that matchString occurs in the searchString.
|
public static Object |
createConstantName(Object inString)
-
Given a String, returns a new String in the constant style with the String in uppercase and camel-cased words separated by underscores.
|
public static Object |
initUpperCase(Object inString)
-
Return a String with initial upper cases
|
public static Object CLOSE_CURLY_BRACKET
public static Object COMMA
private static Object _CONSTANT_REGEXP
public static Object EQUALS
private static Object _REPLACE_PATTERN
public static Object START_CURLY_BRACKET
public AdfStrings()
Holder of commonly used string constants
public static Number count(String searchString,
Object matchString)
Returns the number of non-overlapping times that matchString occurs in the searchString.
- Parameters:
-
searchString |
- |
String to search for matches |
matchString |
|
|
- Return:
Number
- number of non-overlapping matches
public static Object createConstantName(Object inString)
Given a String, returns a new String in the constant style with the String in uppercase and camel-cased words separated by underscores. For example mouseMove
becomes MOUSE_MOVE
.
- Parameters:
-
- Return:
Object
public static Object initUpperCase(Object inString)
Return a String with initial upper cases
- Parameters:
-
- Return:
Object
Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.