Module uk.autores.processing
Package uk.autores.processing.handlers
Class GenerateByteArraysFromFiles
- java.lang.Object
-
- uk.autores.processing.handlers.GenerateByteArraysFromFiles
-
- All Implemented Interfaces:
Handler
public class GenerateByteArraysFromFiles extends Object implements Handler
Generates a class for loading byte data. For each resource, generates a method with a name derived from the resource name using
Namer.simplifyResourceName(String)
andNamer.nameMember(String)
. The class will have a static method calledbytes
that returns the resource as a new byte array.Resource files over
Integer.MAX_VALUE
in size will result in an error during compilation.
-
-
Constructor Summary
Constructors Constructor Description GenerateByteArraysFromFiles()
Ctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ConfigDef>
config()
Supported config.void
handle(Context context)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.autores.handling.Handler
validConfig
-
-