public static boolean isEmpty(Collection<?> list) {
        return list == null || list.isEmpty();
    }
Get file name from file path

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