常用的方法
public File(String pathname)
public File(File parent,String child)
public boolean creatNewFile() throw IOException
public boolean delete()
public boolean exists()
public boolean mkdir()
public boolean mkdirs()
public String getParent()
public File getParentFile()
public boolean canExecute()
public boolean canRead()
public boolean canWrite()
public File getAbsoluteFile()
public String getname()
public boolean isDirectory()
public boolean isFile()
public long lastModified()
public long length()
public String[] list()
public File[] listFiles()
public boolean renameTo(File dest)