Lecture 23
23
public class File
•Information about files, not their contents            (Juno should be redesigned this way)
•Constructors
•File(String path) or (String path, String name) or
(File dir, String name)
•Methods
•boolean exists(), isFile(), isDirectory(),
  canRead(), canWrite();
•long    length(), lastModified();
•boolean delete(), mkdir(), renameTo(File dest);
•String  getName(), getParent(), getPath(),
      getAbsolutePath()