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

E17503-02

oracle.adfnmc.util
Class JADFile

java.lang.Object
  extended by oracle.adfnmc.util.JADFile
All Implemented Interfaces:
PropertyBag

public class JADFile
extends java.lang.Object
implements PropertyBag

Represents a parsed JAD file as a Hashtable mapping keys to values. A standard MIDlet already has built-in support for the JAD file. You can simply call MIDlet.getAppProperty to retrieve the value associated with a given key specified in the corresponding JAD file. A BlackBerry UiApplication has no such analog, so we attempt to emulate this functionality by adding the JAD file as a resource in the JAR, and then providing this class to parse it.

Author:
PARACHAN

Method Summary
 java.lang.String getProperty(java.lang.String key)
          Gets a value associated with the specified key, or null if that key does not exist.
 Iterator keys()
          Returns an enumeration that lets the caller iterate over all the keys in this collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String key)
Gets a value associated with the specified key, or null if that key does not exist.

Specified by:
getProperty in interface PropertyBag
Parameters:
key -
Returns:

keys

public Iterator keys()
Returns an enumeration that lets the caller iterate over all the keys in this collection.

Specified by:
keys in interface PropertyBag

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.