|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageCatalogFormat
Interface for writing various message catalog formats.
Implementations of this interface are executed at compile time and therefore must not contain any JSNI code.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |