Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class File extends Object implements Serializable { // Public Constructors public File(String path); public File(String path, String name); public File(File dir, String name); // Constants public static final String pathSeparator; public static final char pathSeparatorChar; public static final String separator; public static final char separatorChar; // Public Instance Methods public boolean canRead(); public boolean canWrite(); public boolean delete(); public boolean equals(Object obj); // Overrides Object.equals() public boolean exists(); public String getAbsolutePath(); 1.1 public String getCanonicalPath() throws IOException; public String getName(); public String getParent(); public String getPath(); public int hashCode(); // Overrides Object.hashCode() public native boolean isAbsolute(); public boolean isDirectory(); public boolean isFile(); public long lastModified(); public long length(); public String[] list(); public String[] list(FilenameFilter filter); public boolean mkdir(); public boolean mkdirs(); public boolean renameTo(File dest); public String toString(); // Overrides Object.toString() }