app.util
Class AppletPropertiesCopier

java.lang.Object
  extended by app.util.AppletPropertiesCopier

public class AppletPropertiesCopier
extends java.lang.Object

Provides static methods to copy specified applet parameter settings to the system properties.


Constructor Summary
AppletPropertiesCopier()
           
 
Method Summary
static void copyAppletProperties(java.applet.Applet applet, java.lang.String[] propnames)
          Copies all applet parameter settings whose names appear in the given list of property names to the system properties.
static void copyAppletProperty(java.applet.Applet applet, java.lang.String propname)
          Checks whether the given applet has a parameter with the given property name and if so sets the system property of that name to the given parameter value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletPropertiesCopier

public AppletPropertiesCopier()
Method Detail

copyAppletProperties

public static final void copyAppletProperties(java.applet.Applet applet,
                                              java.lang.String[] propnames)
Copies all applet parameter settings whose names appear in the given list of property names to the system properties.


copyAppletProperty

public static final void copyAppletProperty(java.applet.Applet applet,
                                            java.lang.String propname)
Checks whether the given applet has a parameter with the given property name and if so sets the system property of that name to the given parameter value.