任何人都可以告诉我如何获得没有扩展名的文件名?例:
fileNameWithExt = "test.xml"; fileNameWithOutExt = "test";
java file
file ×1
java ×1