com.google.gwt.libideas.linker
Class LocaleListLinker

java.lang.Object
  extended by com.google.gwt.dev.linker.Linker
      extended by com.google.gwt.libideas.linker.LocaleListLinker

public class LocaleListLinker
extends com.google.gwt.dev.linker.Linker

Produces a list of locales as a linker artifact for use by server-side code. The locale list, which will include the default locale, will be stored in a text file locale-list.txt in the linker output directory (which will be based on the name used in the define-linker directive). Example .gwt.xml usage:

  
  
 


Constructor Summary
LocaleListLinker()
           
 
Method Summary
 java.lang.String getDescription()
           
 void link(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.dev.linker.LinkerContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleListLinker

public LocaleListLinker()
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class com.google.gwt.dev.linker.Linker

link

public void link(com.google.gwt.core.ext.TreeLogger logger,
                 com.google.gwt.dev.linker.LinkerContext context)
          throws com.google.gwt.core.ext.UnableToCompleteException
Specified by:
link in class com.google.gwt.dev.linker.Linker
Throws:
com.google.gwt.core.ext.UnableToCompleteException