public static String getExt(String path) { String result = null; try { result = path.substring(path.lastIndexOf(".") + 1); } catch (Exception e) { result = ""; } return result; }
初级程序员
by: 微微 发表于:2016-08-22 18:02:07 顶(0) | 踩(0) 回复
by: 微微 发表于:2016-08-22 18:02:10 顶(0) | 踩(0) 回复
初级程序员
by: 微微 发表于:2016-08-22 18:02:07 顶(0) | 踩(0) 回复
回复评论