com.hack23.cia.service.api
Interface Translator

Package class diagram package Translator
All Known Implementing Classes:
TranslatorImpl

public interface Translator

The Interface Translator.


Method Summary
 String translate(String text, com.google.api.translate.Language from, com.google.api.translate.Language to)
          Translate.
 String translateFromStandardProtocol(String text, com.google.api.translate.Language to)
          Translate from standard protocol.
 String translateFromSwedish(String text, com.google.api.translate.Language to)
          Translate from swedish.
 

Method Detail

translate

String translate(String text,
                 com.google.api.translate.Language from,
                 com.google.api.translate.Language to)
Translate.

Parameters:
text - the text
from - the from
to - the to
Returns:
the string

translateFromStandardProtocol

String translateFromStandardProtocol(String text,
                                     com.google.api.translate.Language to)
Translate from standard protocol.

Parameters:
text - the text
to - the to
Returns:
the string

translateFromSwedish

String translateFromSwedish(String text,
                            com.google.api.translate.Language to)
Translate from swedish.

Parameters:
text - the text
to - the to
Returns:
the string


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.