jp.sourceforge.livez.lang
クラス VodafoneEmojiUtils

java.lang.Object
  上位を拡張 jp.sourceforge.livez.lang.VodafoneEmojiUtils

public final class VodafoneEmojiUtils
extends Object

ボーダフォン用絵文字関連ユーティリティクラスです。

作成者:
杉澤 浩二

メソッドの概要
static String escapeWebCode(String s)
          指定された文字列中のボーダフォン絵文字を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。
static String escapeWebCode123(String s)
          指定された文字列中のボーダフォン絵文字1〜3を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。
static String escapeWebCode456(String s)
          指定された文字列中のボーダフォン絵文字4〜6を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。
static boolean isEmoji(char c)
          指定された文字がボーダフォン絵文字かどうかを返します。
static String removeEmoji(String s)
          指定された文字列からボーダフォン絵文字を削除して返します。
static String unescapeWebCode(String s)
          指定された文字列中のボーダフォンライブウェブ絵文字を、 ボーダフォン絵文字形式に非エスケープします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

isEmoji

public static boolean isEmoji(char c)
指定された文字がボーダフォン絵文字かどうかを返します。

パラメータ:
c - 文字
戻り値:
ボーダフォン絵文字の場合 true を、それ以外の場合 false を返します。

removeEmoji

public static String removeEmoji(String s)
指定された文字列からボーダフォン絵文字を削除して返します。

指定された文字列が null の場合は、null を返します。

パラメータ:
s - 文字列
戻り値:
ボーダフォン絵文字が削除された文字列。又は null

escapeWebCode123

public static String escapeWebCode123(String s)
指定された文字列中のボーダフォン絵文字1〜3を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。

パラメータ:
s - 文字列
戻り値:
エスケープされた文字列

escapeWebCode456

public static String escapeWebCode456(String s)
指定された文字列中のボーダフォン絵文字4〜6を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。

パラメータ:
s - 文字列
戻り値:
エスケープされた文字列

escapeWebCode

public static String escapeWebCode(String s)
指定された文字列中のボーダフォン絵文字を、 ボーダフォンライブウェブで表示可能な形式にエスケープします。

パラメータ:
s - 文字列
戻り値:
エスケープされた文字列

unescapeWebCode

public static String unescapeWebCode(String s)
指定された文字列中のボーダフォンライブウェブ絵文字を、 ボーダフォン絵文字形式に非エスケープします。

パラメータ:
s - 文字列
戻り値:
非エスケープされた文字列


Copyright © 2005-2006 Kouji Sugisawa. All rights reserved.