标签:sdi path color get write bool anr lips eclips
File应该叫做一个路径
作用: 可以表示文件或者文件夹
构造方法:
public File(String filePathName)
public File(String parent , String child)
public File(File parent , String child)
成员方法
* 创建功能
* public boolean createNewFile()
* public boolean mkdir()
* public boolean mkdirs()
* 删除和重命名
* public boolean renameTo(File dest)
* public boolean delete()
* 判断功能
* public boolean isDirectory()
* public boolean isFile()
* public boolean exists()
* public boolean canRead()
* public boolean canWrite()
* public boolean isHidden()
* 获取功能
* public String getAbsolutePath()
* public String getPath()
* public String getName()
* public long length()
* public long lastModified()
* public String[] list()
* public File[] listFiles()
* public String[] list(FilenameFilter filter)
* public File[] listFiles(FilenameFilter filter)
标签:sdi path color get write bool anr lips eclips
原文地址:http://www.cnblogs.com/loaderman/p/6407274.html