Logo Search packages:      
Sourcecode: icedtea-web version File versions  Download package

static String net::sourceforge::jnlp::runtime::JNLPRuntime::getMessage ( String  key  )  [inline, static]

Returns the localized resource string identified by the specified key. If the message is empty, a null is returned.

Definition at line 458 of file JNLPRuntime.java.

References resources.

Referenced by getMessage().

        try {
            String result = resources.getString(key);
            if (result.length() == 0)
                return null;
                return result;
        catch (Exception ex) {
            if (!key.equals("RNoResource"))
                return getMessage("RNoResource", new Object[] {key});
                return "Missing resource: "+key;

Generated by  Doxygen 1.6.0   Back to index