aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--netx/net/sourceforge/jnlp/PluginBridge.java8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d92e476..5028e12 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-02-11 Omair Majid <[email protected]>
+ * netx/net/sourceforge/jnlp/PluginBridge.java
+ (getResourcesDescs): New method implemented to override behaviour in
+ JNLPFile class.
+
+2011-02-11 Omair Majid <[email protected]>
+
* netx/net/sourceforge/jnlp/JNLPFile.java
(getResourceDescs): Renamed to...
(getResourcesDescs): New method.
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java
index a710a62..2cb5146 100644
--- a/netx/net/sourceforge/jnlp/PluginBridge.java
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java
@@ -244,6 +244,14 @@ public class PluginBridge extends JNLPFile {
};
}
+ /**
+ * Returns the resources section of the JNLP file for the
+ * specified locale, os, and arch.
+ */
+ public ResourcesDesc[] getResourcesDescs(final Locale locale, final String os, final String arch) {
+ return new ResourcesDesc[] { getResources(locale, os, arch) };
+ }
+
public boolean isApplet() {
return true;
}