Back to project page OBS-Translation-App.
The source code is released under:
MIT License
If you think the Android project OBS-Translation-App 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.door43.obs.mta.model; // ww w .java 2 s. com /** * General interface for any "text" to be used in this translation application. * <p> * Existence of following field is always expected: * <ul> * <li>frame ID</li> * <li>language code</li> * <li>text</li> * </ul> * </p> */ public interface IText { /** * @return String representation of frame ID.<br/> * Example: "29-01" */ String getFrameId(); /** * Set's frame ID. * @param frameId */ void setFrameId(String frameId); /** * @return Text */ String getText(); /** * Sets text of the frame. * @param text */ void setText(String text); /** * @return IETF language tag/code of given text e.g. en??, ??, cs?? etc. */ String getLangCode(); /** * Sets language code for given text.<br/> * IETF language tag/code is expected e.g. en??, ??, cs?? etc. * @param langCode */ void setLangCode(String langCode); }