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