Skeleton example for extending ResourceCompiler to add
serialized objects when compiling a Cramfull subclass.
This class is not meant to be used as is, but only as an example
to write your own. Do not forget to move your version of this
class out of the be.arci package hierarchy.
We supply this class as a free service to all users of the
Cramfull Compiled Resources library.
You are allowed to modify this source code, provided you move the class out of
the be.arci package hierarchy.
main(java.lang.String[] args)
Example of invoking a modified version of SerializingResourceCompiler.
protected void
openCompiler(java.io.File flOutputdir,
java.lang.String sOutputClass,
boolean swReplace)
Opens a new ClassCompiler, which starts writing the output class, and then
adds an array of objects to it through serialization.
public static final java.lang.String SERIALIZED_TAG
Tag by which the ResourceViewer utility recognizes serialized
arrays of Objects.
Constructor Detail
SerializingResourceCompiler
public SerializingResourceCompiler()
Method Detail
main
public static void main(java.lang.String[] args)
Example of invoking a modified version of SerializingResourceCompiler.
Do not use this on SerializingResourceCompiler itself, as this is
only a skeleton example.