摘要:
其实 File.separator 的作用相当于 ' \ ' 在 windows 中 文件文件分隔符 用 ' \ ' 或者 ' / ' 都可以 但是在 Linux 中,是不识别 ' \ ' 的,而 File.separator 是系统默认的文件分隔符号,在 UNIX 系统上,此字段的值为 ' / ' 阅读全文
posted @ 2022-08-01 18:11
又一岁荣枯
阅读(460)
评论(0)
推荐(0)
摘要:
private static String os = System.getProperty("os.name").toLowerCase();//获取当前操作系统类型 private String uploadPath;//系统附件文件路径,如:/home/uploadPath /** * 执行py 阅读全文
posted @ 2022-08-01 12:47
又一岁荣枯
阅读(573)
评论(0)
推荐(0)
摘要:
@Test public void Tes1(){ String [] arr = new String[7]; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = null; for (int i=0;i< 阅读全文
posted @ 2022-08-01 09:22
又一岁荣枯
阅读(1203)
评论(0)
推荐(0)

浙公网安备 33010602011771号