摘要 |
<p>Systems and methods for storing executable content in an icon, such as a scanlet, and using the stored executable content are described. In general, in order to store executable content, such as a Java class file, a determination is made whether or not the Java class file to be stored can be adequately compressed so as to fit within the scanlet. Once so determined, the Java class file is losslessly compressed and encoded to form the scanlet. In order to execute the executable content incorporated in the scanlet, in one embodiment, a conventional scanner reads the scanlet and sends the data in the form of mclass data bytes to a buffer or other such appropriate storage device. A decompressor coupled to the buffer then decompresses the mclass data bytes stored in the buffer to form a restored Java class file that replicates the original Java class file. The restored Java class file is then used to provide the executable content for a Java Virtual Machine incorporated in the Java enabled device.</p> |