@Test public void testAppNameWithProperties() throws ToolkitException { Properties properties = new Properties(); properties.setProperty(TranslatorConfiguration.TRANSLATOR_CLASS_NAME_KEY, FakeTranslator.class.getName()); Translator translator = TranslatorFactory.buildTranslator("FakeApp", properties); assertNotNull("Translator was not built.", translator); }
public static Translator buildTranslator() throws ToolkitException { return buildTranslator(null, null); }
TranslatorFactory extends BaseComponentFactory<Translator, TranslatorConfiguration> { public static Translator buildTranslator() throws ToolkitException { return buildTranslator(null, null); } }
TranslatorFactory extends BaseComponentFactory<Translator, TranslatorConfiguration> { public static Translator buildTranslator() throws ToolkitException { return buildTranslator(null, null); } TranslatorFactory();  TranslatorFactory(Properties properties);  TranslatorFactory(String appName);  TranslatorFactory(String appName, Properties properties);  TranslatorFactory(TranslatorConfiguration configuration); }
TranslatorFactory extends BaseComponentFactory<Translator, TranslatorConfiguration> { public static Translator buildTranslator() throws ToolkitException { return buildTranslator(null, null); } TranslatorFactory();  TranslatorFactory(Properties properties);  TranslatorFactory(String appName);  TranslatorFactory(String appName, Properties properties);  TranslatorFactory(TranslatorConfiguration configuration); @Override Translator getComponent(); static Translator buildTranslator(); static Translator buildTranslator(Properties properties); static Translator buildTranslator(String appName); static Translator buildTranslator(TranslatorConfiguration configuration); static Translator buildTranslator(String appName, Properties properties); }
TranslatorFactory extends BaseComponentFactory<Translator, TranslatorConfiguration> { public static Translator buildTranslator() throws ToolkitException { return buildTranslator(null, null); } TranslatorFactory();  TranslatorFactory(Properties properties);  TranslatorFactory(String appName);  TranslatorFactory(String appName, Properties properties);  TranslatorFactory(TranslatorConfiguration configuration); @Override Translator getComponent(); static Translator buildTranslator(); static Translator buildTranslator(Properties properties); static Translator buildTranslator(String appName); static Translator buildTranslator(TranslatorConfiguration configuration); static Translator buildTranslator(String appName, Properties properties);  }