Loading

上一页 1 ··· 3 4 5 6 7
摘要: 方法名称 方法作用 getName() 文件名称 getPath() 赋值路径(绝对\相对) getAbsolutePath() 绝对路径 package cn.hxh.io.file; import java.io.*; public class Demo02 { public static vo 阅读全文
posted @ 2020-01-25 22:04 shimeath 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 常量名称常量用途 pathSeparator 路径分割符 separator 文件分割符 例: package cn.hxh.io.file; import java.io.File; public class Demo01 { public static void main(String[] ar 阅读全文
posted @ 2020-01-25 21:45 shimeath 阅读(95) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7