1.Java中动态生成当前日期的文件名称并且将控制台的输出信息输入到文件中
publicstaticvoidSaveClonseToFile()throwsIOException,FileNotFoundException{
Filef=newFile(getCurrentDateFileName()+".txt");
f.createNewFile();
FileOutputStreamfileOutputStream=newFileOutpu..
分类:
编程语言 时间:
2017-09-16 11:55:45
阅读次数:
122