Package com.singularsys.extensions
Class ExtMessages
java.lang.Object
com.singularsys.extensions.ExtMessages
Class to handle externalized messages for the extensions package.
Uses the bundle name "com.singularsys.extensions.message".
Note the format for missing resources is !key!
which is used in FunctionSet.put(String, PostfixMathCommandI)
and FunctionTable to check if a resource is missing.
-
Method Summary
-
Method Details
-
getString
-
format
Gets a message and uses that to format its arguments.- Parameters:
key- key to message which is a format string used byMessageFormat.format(String, Object...)args- set of arguments to be passed to the format- Returns:
- Message format applied to arguments
-