- 博客(1)
- 收藏
- 关注
原创 Mark一下.根据文件路径获取文件名的java方法
<br />public static String getFileName(String filePathName) {<br /> int pos = 0;<br /> pos = filePathName.lastIndexOf(47);<br /> if(pos != -1)<br /> return filePathName.substring(pos + 1, filePathName.length());<br /
2010-06-13 08:51:00 444
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人