Lightfoot Bytes

Description

Converts binary files to assembler files that can be used as native methods to get the contents of the binary file. This is often used for storing images or class files in an application without loading them off a remote system.

Parameters

Attribute Description Required
sourceref
The reference for all the source files
Yes
destdir
The directory to write files to
No
classname
The name of the class to write the methods for
Yes
prefix
The prefix for all methods
No
postfix
The postfix for all methods
No

Examples

        <lightfoot.bytes sourceref="${bytefiles.ref}"
            destdir="${asmdir}"
            classname="${bytefiles.classname}"
            prefix="${bytefiles.prefix}"
            postfix="${bytefiles.postfix}">
        </lightfoot.bytes>