Android Open Source - sdk-payyans Payyans Interface






From Project

Back to project page sdk-payyans.

License

The source code is released under:

GNU Lesser General Public License

If you think the Android project sdk-payyans 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.silpa.payyans;
//w  w w  .ja v a  2 s  .  c o  m
/**
 * Created by sujith on 12/6/14.
 */
public interface PayyansInterface {

    /**
     * To get current font map
     *
     * @return returns font map
     */
    public int getFontMap();

    /**
     * To get direction of conversion
     *
     * @return
     */
    public int getDirection();

    /**
     * To get payyans object used for conversion
     *
     * @return
     */
    public Payyans getPayyans();

    /**
     * To get converted text from respective view
     *
     * @return
     */
    public String getConvertedText();

    /**
     * To get name of module
     *
     * @return
     */
    public String getModuleName();

    /**
     * To get brief information fo the module
     *
     * @return
     */
    public String getModuleInformation();

    /**
     * To set font map
     *
     * @param fontMap font map value from
     *                Payyans.FONT_MAP_AMBILI
     *                Payyans.FONT_MAP_CHARAKA
     *                Payyans.FONT_MAP_HARITHA
     *                Payyans.FONT_MAP_INDULEKHA
     *                Payyans.FONT_MAP_KARTHIKA
     *                Payyans.FONT_MAP_MANORAMA
     *                Payyans.FONT_MAP_MATWEB
     *                Payyans.FONT_MAP_NANDINI
     *                Payyans.FONT_MAP_PANCHARI
     *                Payyans.FONT_MAP_REVATHI
     *                Payyans.FONT_MAP_TEMPLATE
     *                Payyans.FONT_MAP_UMA
     *                Payyans.FONT_MAP_VALLUVAR
     */
    public void setFontMap(int fontMap);

    /**
     * To set direction of conversion
     *
     * @param direction direction value from
     *                  Payyans.ASCII_TO_UNICODE
     *                  Payyans.UNICODE_TO_ASCII
     */
    public void setDirection(int direction);

    /**
     * To set payyans object for conversion
     *
     * @param payyans
     */
    public void setPayyans(Payyans payyans);

}




Java Source Code List

org.silpa.payyans.PayyansEditText.java
org.silpa.payyans.PayyansInterface.java
org.silpa.payyans.PayyansTextView.java
org.silpa.payyans.Payyans.java