Back to project page tatoeba-offline-android.
The source code is released under:
GNU General Public License
If you think the Android project tatoeba-offline-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.tatoeba.searchsentences; /* ww w . j a v a 2s . c o m*/ /** * This class represents a written language. * * @author qdii * */ public class Language { public static final int NB_CHARS = 5; public Language(String code) { this.code = code; } public boolean equals( Language other ) { if (other.code.equals(this.code)) { return true; } return true; } public String name() { return code; } public String toString() { return code; } public static String FRA = "fra"; /* * private enum CODE { acm, afr, ain, ang, ara, arq, arz, ast, avk, aze, * bel, ben, ber, bod, bos, bre, bul, cat, ces, cha, ckt, cmn, cor, cycl, * cym, dan, deu, dsb, ell, eng, epo, est, eus, ewe, fao, fin, fra, fry, * gla, gle, glg, grn, heb, hil, hin, hrv, hsb, hun, hye, ido, ile, ina, * ind, isl, ita, jbo, jpn, kat, kaz, khm, kor, ksh, kur, lad, lao, lat, * lit, lld, lvs, lzh, mal, mar, mlg, mlt, mon, mri, nan, nds, nld, nob, * non, nov, npi, oci, orv, oss, pes, pms, pnb, pol, por, prg, que, qya, * roh, ron, rus, san, scn, sjn, slk, slv, spa, sqi, srp, swe, swh, tat, * tel, tgk, tgl, tha, tlh, toki, tpi, tpw, tur, uig, ukr, urd, uzb, vie, * vol, wuu, xal, xho, yid, yue, zsm } */ private String code; }