google-api-translate-java

码农软件 · 软件分类 · Google相关API · 2019-03-20 17:58:31

软件介绍

google-api-translate-java 是 Java 语言对Google翻译引擎的封装类库,使用方法如下:

import com.google.api.translate.Language;
import com.google.api.translate.Translate;

public class Main {
public static void main(String[] args) {
try {
String translatedText =
Translate.translate("Salut le monde", Language.FRENCH, Language.ENGLISH);
System.out.println(translatedText);
} catch (Exception ex) {
ex.printStackTrace();
}
}
}

更多的例子:http://code.google.com/p/google-api-translate-java/wiki/ExampleUsage

本文地址:https://www.codercto.com/soft/d/1779.html

Data Structures and Algorithms

Data Structures and Algorithms

Alfred V. Aho、Jeffrey D. Ullman、John E. Hopcroft / Addison Wesley / 1983-1-11 / USD 74.20

The authors' treatment of data structures in Data Structures and Algorithms is unified by an informal notion of "abstract data types," allowing readers to compare different implementations of the same......一起来看看 《Data Structures and Algorithms》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具