Project

General

Profile

Download (1023 Bytes) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy 
5
* http://www.e-taxonomy.eu
6
* 
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.
9
*/
10

    
11
package eu.etaxonomy.taxeditor.ui.translation;
12

    
13
import eu.etaxonomy.cdm.model.common.Language;
14

    
15
/**
16
 * <p>ITranslationServiceWrapper interface.</p>
17
 *
18
 * @author n.hoffmann
19
 * @created Oct 21, 2010
20
 * @version 1.0
21
 */
22
public interface ITranslationServiceWrapper {
23

    
24
	/**
25
	 * <p>translate</p>
26
	 *
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.
32
	 */
33
	public String translate(String text, Language source, Language target) throws LanguageNotSupportedException;
34
	
35
}
(2-2/6)