public static boolean isEmpty(CharSequence text) {
        return text == null || text.length() == 0;
    }
Get file name from file path

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