Gets a String
that corresponds to the
specified input string from a resource boundle file.
try
{
resourceBundle = ResourceBundle.getBundle(
"javax.media.bean.playerbean.MediaPlayerInfoResBundle", Locale.getDefault());
}
catch (MissingResourceException e)
{
//System.err.println("javax.media.bean.playerbean.MediaPlayerInfoResBundle.class not found");
}
String s = null;
try
{
s = resourceBundle.getString(inputString);
}
catch(MissingResourceException e)
{
//System.err.println(resourceBundle.getString("CANNOT_FIND_STRING")+inputString+
// resourceBundle.getString("IN_RESOURCE_FILE"));
s = '*"+inputString+'*";
}
catch(Throwable e)
{
//System.err.println("No resource file");
s = '*"+inputString+'*";
}
return s;