com.hack23.cia.service.impl
Class TranslatorServiceImpl

Package class diagram package TranslatorServiceImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.TranslatorServiceImpl
All Implemented Interfaces:
TranslatorService

@Service(value="TranslatorService")
public class TranslatorServiceImpl
extends Object
implements TranslatorService

The Class TranslatorServiceImpl.


Constructor Summary
TranslatorServiceImpl()
           
 
Method Summary
 String getTranslation(String text, com.google.api.translate.Language from, com.google.api.translate.Language to)
          Gets the translation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslatorServiceImpl

public TranslatorServiceImpl()
Method Detail

getTranslation

@Transactional
public String getTranslation(String text,
                                           com.google.api.translate.Language from,
                                           com.google.api.translate.Language to)
Description copied from interface: TranslatorService
Gets the translation.

Specified by:
getTranslation in interface TranslatorService
Parameters:
text - the text
from - the from
to - the to
Returns:
the translation


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