Module uk.autores

Package uk.autores


package uk.autores

An annotation driven library for working with embedded resource files. This package contains the core library functionality. See other packages for annotation processing and extensibility.

AUTORES

Usage

  1. Add import uk.autores.*;
  2. Annotate a package (ElementType.PACKAGE) or type (ElementType.TYPE) with one of the provided annotations
  3. Set String[] values() to the resource file names
Annotation Summary
Annotation Consumes Description
ByteArrays any file Generate one class per file that returns byte[].
InputStreams any file Generate single class with one InputStream method per file.
Keys properties Generate one constants class with keys per Properties file.
Messages properties Generate one localized, formatting message generator class per Properties file.
Texts text files Generate one class per text file that returns String.