IO
张漂亮’s Blog
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
IO流文件复制
需求描述: 将服务器上的文件复制一份,并对复制后的文件做其他操作。 1. properties文件配置: tofile.path=/home/coreapp/abc/ 2. java代码 public static void main(String[] args) { String path = PropertyUtil.getProperty("tofile.path"); //复制文件 String oldFileName = String.va原创 2020-11-12 17:25:57 · 158 阅读 · 2 评论 -
jmeter使用小结
jmeter 脚本执行的命令: jmeter -n -t /jmxpath/abc.jmx -l /resultpath/res.jtl java代码以shell方式执行jmeter命令 public void exeShell(String sourcePath,String resultPath){ Process process =null; String commond = "jmeter -n -t "+sourcePath+" -l "+resultPath原创 2020-07-20 09:57:23 · 230 阅读 · 0 评论
分享