/** * */ package ecologylab.serialization.library.jnlp.resource; import ecologylab.serialization.annotations.simpl_inherit; import ecologylab.serialization.annotations.simpl_scalar; /** * A jar element specifies a JAR file that is part of the application's classpath. For example: * * <jar href="myjar.jar"/> * * The jar file will be loaded into the JVM using a ClassLoader object. The jar file will typically contain Java classes * that contain the code for the particular application, but can also contain other resources, such as icons and * configuration files, that are available through the getResource mechanism. * * @author Zachary O. Toups (toupsz@cs.tamu.edu) * */ public @simpl_inherit class Jar extends HrefBasedResource { /** * The download attribute is used to control whether a resource is downloaded eagerly or lazily. For example: * * <jar href="sound.jar" download="lazy"/> <nativelib href="native-sound.jar" download="eager"/> */ @simpl_scalar protected String download; /** * */ public Jar() { super(); } }