Package com.anzsoft.client.utils.emotions

Examples of com.anzsoft.client.utils.emotions.Emoticons


        message = replace(message, new String[] { ":-\\)", ":\\)" }, SMILE);
        return message;
    }

    private static String formatEmoticons(String message) {
        final Emoticons img = Emoticons.App.getInstance();

        message = preFormatEmoticons(message);
       
        message = message.replaceAll(SMILE, getImgHtml(img.smile()));
        message = message.replaceAll(CRYING, getImgHtml(img.crying()));
        message = message.replaceAll(SURPRISED, getImgHtml(img.surprised()));
        message = message.replaceAll(ANGEL, getImgHtml(img.angel()));
        message = message.replaceAll(HAPPY, getImgHtml(img.happy()));
        message = message.replaceAll(GRIN, getImgHtml(img.grin()));
        message = message.replaceAll(JOYFUL, getImgHtml(img.joyful()));
        message = message.replaceAll(UNCERTAIN, getImgHtml(img.uncertain()));
        message = message.replaceAll(ANGRY, getImgHtml(img.angry()));
        message = message.replaceAll(TONGUE, getImgHtml(img.tongue()));
        message = message.replaceAll(LOVE, getImgHtml(img.love()));
        message = message.replaceAll(SLEEPING, getImgHtml(img.sleeping()));
        message = message.replaceAll(COOL, getImgHtml(img.cool()));
        message = message.replaceAll(KISSING, getImgHtml(img.kissing()));
        message = message.replaceAll(SAD, getImgHtml(img.sad()));
        message = message.replaceAll(ALIEN, getImgHtml(img.alien()));
        message = message.replaceAll(ANDY, getImgHtml(img.andy()));
        message = message.replaceAll(BANDIT, getImgHtml(img.bandit()));
        message = message.replaceAll(BLUSHING, getImgHtml(img.blushing()));
        message = message.replaceAll(DEVIL, getImgHtml(img.devil()));
        message = message.replaceAll(HEART, getImgHtml(img.heart()));
        message = message.replaceAll(LOL, getImgHtml(img.lol()));
        message = message.replaceAll(NINJA, getImgHtml(img.ninja()));
        message = message.replaceAll(PINCHED, getImgHtml(img.pinched()));
        message = message.replaceAll(POLICEMAN, getImgHtml(img.policeman()));
        message = message.replaceAll(POUTY, getImgHtml(img.pouty()));
        message = message.replaceAll(SICK, getImgHtml(img.sick()));
        message = message.replaceAll(SIDEWAYS, getImgHtml(img.sideways()));
        message = message.replaceAll(UNSURE, getImgHtml(img.unsure()));
        message = message.replaceAll(W00T, getImgHtml(img.w00t()));
        message = message.replaceAll(WINK, getImgHtml(img.wink()));
        message = message.replaceAll(WONDERING, getImgHtml(img.wondering()));
        message = message.replaceAll(WHISTLING, getImgHtml(img.whistling()));
        message = message.replaceAll(WIZARD, getImgHtml(img.wizard()));

        return message;
    }
View Full Code Here

TOP

Related Classes of com.anzsoft.client.utils.emotions.Emoticons

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.