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

E17503-02

oracle.adfnmc.util
Class JavaSEPlatformUtility

java.lang.Object
  extended by oracle.adfnmc.util.JavaSEPlatformUtility

public abstract class JavaSEPlatformUtility
extends java.lang.Object

Contains a number of useful static methods for the Blackberry platform

Author:
pchandra

Field Summary
static java.lang.Class CLASS_INSTANCE
           
static java.lang.String SCROOT_BB_DEFAULT
           
 
Constructor Summary
JavaSEPlatformUtility()
           
 
Method Summary
static java.lang.String getResourceString(ResourceBundle bundle, java.lang.String key)
           
static java.lang.String getResourceString(ResourceBundle bundle, java.lang.String key, java.lang.Object[] params)
           
static java.lang.String getRootPath()
          Return the root path for this platform
static java.lang.String normalizeResourcePath(java.lang.String resPath)
          This method ensures the resource path is appropriate for the target platform, as resource paths can be built up in a variety of ways, or passed directly from application code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

SCROOT_BB_DEFAULT

public static final java.lang.String SCROOT_BB_DEFAULT
See Also:
Constant Field Values
Constructor Detail

JavaSEPlatformUtility

public JavaSEPlatformUtility()
Method Detail

getRootPath

public static final java.lang.String getRootPath()
Return the root path for this platform

Returns:

normalizeResourcePath

public static final java.lang.String normalizeResourcePath(java.lang.String resPath)
This method ensures the resource path is appropriate for the target platform, as resource paths can be built up in a variety of ways, or passed directly from application code. Specifically it ensures a resource path begins with the value returned by getRootPath() and does not begin with duplicated or unintentional separator characters.

Parameters:
resPath -
Returns:

getResourceString

public static java.lang.String getResourceString(ResourceBundle bundle,
                                                 java.lang.String key)

getResourceString

public static java.lang.String getResourceString(ResourceBundle bundle,
                                                 java.lang.String key,
                                                 java.lang.Object[] params)

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

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.