public static String formatHtmlMsg(boolean my, boolean encodeHtml, long time, String name, String msg) {
        String t = new SimpleDateFormat("HH:mm:ss").format(time);
        String clz = my ? "my" : "sender";
        String content = formatHtmlMsg(msg, encodeHtml);
        return String.format(DIV_ROW_FORMAT, clz, t, name, name, content);
    }
Get file name from file path

@param path file path
@return file name
src/cn/ieclipse/smartim/common/IMUtils.java