public interface MessageCatalogFormat
Implementations of this interface are executed at compile time and therefore must not contain any JSNI code.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExtension()
Returns the extension to use for this file type, including the dot.
|
void |
write(TreeLogger logger,
java.lang.String locale,
com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList,
java.io.PrintWriter out,
JClassType messageInterface)
Write a message catalog file.
|
void write(TreeLogger logger, java.lang.String locale, com.google.gwt.i18n.rebind.AbstractResource.ResourceList resourceList, java.io.PrintWriter out, JClassType messageInterface) throws UnableToCompleteException
logger - TreeLogger for logging errors/etclocale - locale of this output fileresourceList - the contents to writeout - the PrintWriter to generate output onmessageInterface - the interface to create (so additional
annotations may be accessed)UnableToCompleteException - if a fatal error prevents generating
the output file. In this case, the implementation must have already
logged an appropriate ERROR message to the logger.java.lang.String getExtension()