|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applxdf.util.messages.MessageBundleProcessor
public class MessageBundleProcessor
Main class that reads the Message ID allocation specified in the message_id_allocation.properties file
The path to the message_id_allocation.properties file can be specified using the oracle.apps.fnd.applxdf.message_id_alloc_file system property. If this system property is not specified the default resbundle_list.properties is read.
| Nested Class Summary | |
|---|---|
static class |
MessageBundleProcessor.BundleEntry
Models a single resource bundle entry in the allocation properties file |
static class |
MessageBundleProcessor.BundleEntryList
Models a list of BundleEntry objects |
static interface |
MessageBundleProcessor.BundleEntryVisitor
A visitor class for visiting each entry for a resource bundle |
| Field Summary | |
|---|---|
protected java.util.Properties |
allocProps
|
protected MessageBundleProcessor.BundleEntryList |
bundleList
|
static java.util.logging.Logger |
LOGGER
|
static java.lang.String |
RESOURCE_BUNDLE_LIST_PATH
|
| Constructor Summary | |
|---|---|
MessageBundleProcessor()
|
|
| Method Summary | |
|---|---|
MessageBundleProcessor.BundleEntryList |
getBundleList()
|
static java.lang.String |
getMessageType(java.util.ResourceBundle pRb,
java.lang.String pKey)
|
protected static java.lang.String |
getRbString(java.util.ResourceBundle pRb,
java.lang.String pKey)
|
static java.lang.String |
getViewRoot()
Convenience method to return ade view root |
static boolean |
isNullOrEmpty(java.lang.String pString)
Convenience method that checks if the given String is null or empty |
protected static boolean |
isODLEntry(java.lang.String lKey)
|
protected static boolean |
isSuffixed(java.lang.String lKey)
|
protected static int |
parseMsgId(java.lang.String pSDFMsgIdValue)
|
protected static java.lang.String |
parsePrefix(java.lang.String pSDFMsgIdValue)
|
void |
reloadAll()
Force reloads all bundles for all entries in the allocation properties file |
void |
visitAllMessages(MessageBundleProcessor.BundleEntryVisitor pVisitor)
Performs callback on the visitor for all messages for all resource bundles loaded from the messages allocation properties file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RESOURCE_BUNDLE_LIST_PATH
protected java.util.Properties allocProps
protected MessageBundleProcessor.BundleEntryList bundleList
public static final java.util.logging.Logger LOGGER
| Constructor Detail |
|---|
public MessageBundleProcessor()
| Method Detail |
|---|
public void reloadAll()
throws java.lang.Exception
java.lang.Exceptionpublic void visitAllMessages(MessageBundleProcessor.BundleEntryVisitor pVisitor)
pVisitor - callback APIpublic MessageBundleProcessor.BundleEntryList getBundleList()
protected static boolean isSuffixed(java.lang.String lKey)
protected static int parseMsgId(java.lang.String pSDFMsgIdValue)
protected static java.lang.String parsePrefix(java.lang.String pSDFMsgIdValue)
protected static boolean isODLEntry(java.lang.String lKey)
protected static java.lang.String getRbString(java.util.ResourceBundle pRb,
java.lang.String pKey)
public static java.lang.String getViewRoot()
public static boolean isNullOrEmpty(java.lang.String pString)
pString - - String to check
true if the given string is null or empty.
false otherwise.
public static java.lang.String getMessageType(java.util.ResourceBundle pRb,
java.lang.String pKey)
|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||