jautil
Class AppletPropertiesSetter

java.lang.Object
  extended by jautil.AppletPropertiesSetter

public class AppletPropertiesSetter
extends java.lang.Object

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


Constructor Summary
AppletPropertiesSetter()
           
 
Method Summary
static void copyAppletProperties(java.applet.Applet applet, java.lang.String[] propnames, java.lang.String[] urlpropnames)
          Copies all applet parameter settings whose names appear in the given lists of normal and URL property names to the correspondingly named system properties.
static void copyStdAppletProperties(java.applet.Applet applet)
          Sets the standard system properties for the given JASigning applet, by copying the corresponding applet parameter values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletPropertiesSetter

public AppletPropertiesSetter()
Method Detail

copyStdAppletProperties

public static final void copyStdAppletProperties(java.applet.Applet applet)
Sets the standard system properties for the given JASigning applet, by copying the corresponding applet parameter values. Where a given applet parameter value is not defined the corresponding system property is left unmodified.


copyAppletProperties

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