Android Open Source - tatoeba-offline-android Sentence






From Project

Back to project page tatoeba-offline-android.

License

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.

Java Source Code

package org.tatoeba.searchsentences;
/*from   w  w  w  .ja  v  a2 s. c om*/
/**
 * @author qdii This class represents a tatoeba sentence, which actually
 *         contains more information than a sentence: namely a language a
 *         creation date and other things.
 */
public class Sentence
{
    public Sentence( int id, Language lang, String data )
    {
        this.id = id;
        this.lang = lang;
        this.data = data;
    }

    public String data()
    {
        return data;
    }

    public Language language()
    {
        return lang;
    }

    public int getId()
    {
        return id;
    }

    private int id;
    private Language lang;
    private String data;
}




Java Source Code List

org.tatoeba.searchsentences.BufferToSentenceParser.java
org.tatoeba.searchsentences.CutterActivity.java
org.tatoeba.searchsentences.CutterTask.java
org.tatoeba.searchsentences.DBAdapter.java
org.tatoeba.searchsentences.FileLoader.java
org.tatoeba.searchsentences.FileToBufferReader.java
org.tatoeba.searchsentences.Filter.java
org.tatoeba.searchsentences.LanguageFilter.java
org.tatoeba.searchsentences.Language.java
org.tatoeba.searchsentences.RegexFilter.java
org.tatoeba.searchsentences.SearchSentenceTask.java
org.tatoeba.searchsentences.Search.java
org.tatoeba.searchsentences.Sentence.java