Module uk.autores.processing
Package uk.autores.processing.handlers
Class GenerateByteArraysFromFiles
java.lang.Object
uk.autores.processing.handlers.GenerateByteArraysFromFiles
- All Implemented Interfaces:
uk.autores.handling.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) and Namer.nameMember(String) .
The class will have a static method called bytes 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 Details
-
GenerateByteArraysFromFiles
public GenerateByteArraysFromFiles()Ctor
-
-
Method Details
-
config
Supported config.- Specified by:
configin interfaceuk.autores.handling.Handler- Returns:
- visibility, strategy, name
-
handle
- Specified by:
handlein interfaceuk.autores.handling.Handler- Throws:
Exception
-