Package ch.entwine.weblounge.common.language

Examples of ch.entwine.weblounge.common.language.LocalizationListener


   * Test method for {@link ch.entwine.weblounge.common.impl.language.LocalizableContent#switchedTo(ch.entwine.weblounge.common.language.Language)}.
   */
  @Test
  public void testSwitchedTo() {
    final StringBuffer newLanguage = new StringBuffer();
    content.addLocalizationListener(new LocalizationListener() {
      public void switchedTo(Language language, Language requestedLanguage) {
        newLanguage.append(language.getIdentifier());
      }
    });
    content.switchTo(french);
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.common.language.LocalizationListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.