3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.ui
.translation
;
13 import eu
.etaxonomy
.cdm
.model
.common
.Language
;
16 * <p>ITranslationServiceWrapper interface.</p>
19 * @created Oct 21, 2010
22 public interface ITranslationServiceWrapper
{
27 * @param text a {@link java.lang.String} object.
28 * @param source a {@link eu.etaxonomy.cdm.model.common.Language} object.
29 * @param target a {@link eu.etaxonomy.cdm.model.common.Language} object.
30 * @return a {@link java.lang.String} object.
31 * @throws eu.etaxonomy.taxeditor.ui.translation.LanguageNotSupportedException if any.
33 public String
translate(String text
, Language source
, Language target
) throws LanguageNotSupportedException
;