Allow the prefix for where to find message translations to be set.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4466 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Mike Thomas
2006-12-01 17:28:06 +00:00
parent 20a9685cc4
commit 2fbd049185
@@ -105,6 +105,15 @@ public class MessageManager
_cache.clear();
}
/**
* Sets the appropriate resource prefix for where to find subsequent
* message bundles.
*/
public void setPrefix (String resourcePrefix)
{
_prefix = resourcePrefix;
}
/**
* Allows a custom classloader to be configured for locating
* translation resources.