Changed Methods |
boolean createNewFile()
|
Documentation changed from old to new. |
Atomically creates a new empty file named by this abstract pathname if and only if a file with this name does not yet exist. |
void deleteOnExit()
|
Documentation changed from old to new. |
Requests that the file or directory denoted by this abstract pathname be deleted when the virtual machine terminates. |
File getAbsoluteFile()
|
Documentation changed from old to new. |
Returns the absolute form of this abstract pathname. |
File getCanonicalFile()
|
Documentation changed from old to new. |
Returns the canonical form of this abstract pathname. |
File getParentFile()
|
Documentation changed from old to new. |
Returns the abstract pathname of this abstract pathname's parent or null if this pathname does not name a parent directory. |
boolean isHidden()
|
Documentation changed from old to new. |
Tests whether the file named by this abstract pathname is a hidden file. |
File[] listRoots()
|
Documentation changed from old to new. |
List the available filesystem roots. |
boolean renameTo(File )
|
Documentation changed from old to new. |
Renames the file denoted by this abstract pathname. |
boolean setLastModified(long )
|
Documentation changed from old to new. |
Sets the last-modified time of the file or directory named by this abstract pathname. |
boolean setReadOnly()
|
Documentation changed from old to new. |
Marks the file or directory named by this abstract pathname so that only read operations are allowed. |
URL toURL()
|
Documentation changed from old to new. |
Converts this abstract pathname into a file: URL. |
int compareTo(File )
|
Documentation changed from old to new. |
Compares two abstract pathnames lexicographically. |
int compareTo(Object )
|
Documentation changed from old to new. |
Compares this abstract pathname to another object. |
File createTempFile(String, String)
|
Documentation changed from old to new. |
Creates an empty file in the default temporary-file directory using the given prefix and suffix to generate its name. |
File createTempFile(String, String, File)
|
Documentation changed from old to new. |
Creates a new empty file in the specified directory using the given prefix and suffix strings to generate its name. |
File[] listFiles()
|
Documentation changed from old to new. |
Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname. |
File[] listFiles(FileFilter )
|
Documentation changed from old to new. |
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |
File[] listFiles(FilenameFilter )
|
Documentation changed from old to new. |
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |