org.eclipse.datatools.connectivity.oda.util
Class ResourceManager
java.lang.Object
org.eclipse.datatools.connectivity.oda.util.ResourceManager
- Direct Known Subclasses:
- OdaResources
- public class ResourceManager
- extends java.lang.Object
A base class that manages retrieving localized messages from int-based message
keys. Subclasses should override init() to pass a localized message array via
setResourceTable().
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public final java.lang.Object get(int iKey)
throws org.eclipse.datatools.connectivity.oda.util.ValueNotFoundException
- Throws:
org.eclipse.datatools.connectivity.oda.util.ValueNotFoundException
getString
public final java.lang.String getString(int iKey)
throws org.eclipse.datatools.connectivity.oda.util.ValueNotFoundException
- Throws:
org.eclipse.datatools.connectivity.oda.util.ValueNotFoundException
getResourceKeyNames
public java.lang.String[] getResourceKeyNames()
loadResources
public static final ResourceManager loadResources(java.lang.String sFQClass,
java.util.Locale l)
getMediumDateFormat
public static final java.lang.String getMediumDateFormat()
getNumberFormat
public static final java.lang.String getNumberFormat(int iFractionDigits)
getCurrencyFormat
public static final java.lang.String getCurrencyFormat(int iFractionDigits)
Copyright © 2005 Actuate Corp. All rights reserved.