public static String getName(String path) {
        File f = new File(path);
        String name = f.getName();
        return name;
    }
Get file name from file path

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