String file = http://localhost:8888/upload/20190310/115111_58_592_HDFS读取文件的流程.png

//截取文件名
String oriName = file .substring(file .lastIndexOf("_")+1);

最后结果:HDFS读取文件的流程.png

 

相关文章: