java.lang.Object
uk.autores.processing.handlers.GenerateStringsFromText
- All Implemented Interfaces:
Handler
Handler
that generates classes that returns file contents as String
s.
Generates a class. Class name is derived from package name
using Namer.nameType(String)
if the name property is unset.
For each resource, generates a method with a name derived from the resource name
using Namer.simplifyResourceName(String)
and Namer.nameMember(String)
that returns the resource as a String
.
Resource files over Integer.MAX_VALUE
in size will result in an error during compilation.
The CharsetDecoder
is configured with CodingErrorAction.REPORT
on malformed input or unmappable characters which will result in build failures.