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 |
---|---|
String |
getExtension()
Returns the extension to use for this file type, including the dot.
|
void |
write(com.google.gwt.core.ext.TreeLogger logger,
String locale,
AbstractResource.ResourceList resourceList,
PrintWriter out,
com.google.gwt.core.ext.typeinfo.JClassType messageInterface)
Write a message catalog file.
|
void write(com.google.gwt.core.ext.TreeLogger logger, String locale, AbstractResource.ResourceList resourceList, PrintWriter out, com.google.gwt.core.ext.typeinfo.JClassType messageInterface) throws com.google.gwt.core.ext.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)com.google.gwt.core.ext.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.String getExtension()
Copyright © 2016. All rights reserved.