80,351
社区成员
发帖
与我相关
我的任务
分享
public class Test {
public static void main(String[] args) throws Exception {
FilePath path = new FilePath(Conver.nsb("c:/下载/1.txt"));
path.changeFileName(new StringBuffer("android"));
path.changeSuffixName(new StringBuffer(".apk"));
System.out.println("原路径: " + "c:/下载/1.txt");
System.out.println("新路径: " + path.getPath());
}
}
StringBuffer str = new StringBuffer("")