@Retention(value=RUNTIME) @Target(value=TYPE) public static @interface LocalizableResource.Generate
Examples:
| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT
Placeholder used to detect that no value was supplied for the fileName parameter.
|
public static final String DEFAULT
public abstract String[] format
Strings are used here instead of class literals because the generators will likely contain non-translatable code and thus can't be referenced from translatable code directly.
Each generator may define additional annotations to supply other necessary parameters.
public abstract String fileName
Note that if multiple generators are used, they will have the same base filename so the extensions must be different.
public abstract String[] locales
Copyright © 2018–2020. All rights reserved.