2019-06-27获取文件xxx.mp4文件后缀名 2019-06-27 本文已影响0人 gdlooker int index = url.lastIndexOf("."); String res = url.substring(index, url.length());