Changed Methods |
boolean canRead()
|
Documentation changed from old to new. |
Tests whether the application can read the file denoted by this abstract pathname. |
boolean canWrite()
|
Documentation changed from old to new. |
Tests whether the application can modify to the file denoted by this abstract pathname. |
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. |
boolean exists()
|
Documentation changed from old to new. |
Tests whether the file denoted by this abstract pathname exists. |
File getAbsoluteFile()
|
Documentation changed from old to new. |
Returns the absolute form of this abstract pathname. |
String getAbsolutePath()
|
Documentation changed from old to new. |
Returns the absolute pathname string of this abstract pathname. |
File getCanonicalFile()
|
Documentation changed from old to new. |
Returns the canonical form of this abstract pathname. |
String getCanonicalPath()
|
Documentation changed from old to new. |
Returns the canonical pathname string of this abstract pathname. |
boolean isDirectory()
|
Documentation changed from old to new. |
Tests whether the file denoted by this abstract pathname is a directory. |
boolean isFile()
|
Documentation changed from old to new. |
Tests whether the file denoted by this abstract pathname is a normal file. |
boolean isHidden()
|
Documentation changed from old to new. |
Tests whether the file named by this abstract pathname is a hidden file. |
long lastModified()
|
Documentation changed from old to new. |
Returns the time that the file denoted by this abstract pathname was last modified. |
long length()
|
Documentation changed from old to new. |
Returns the length of the file denoted by this abstract pathname. |
File[] listRoots()
|
Documentation changed from old to new. |
List the available filesystem roots. |
boolean mkdir()
|
Documentation changed from old to new. |
Creates the directory named by this abstract pathname. |
boolean mkdirs()
|
Documentation changed from old to new. |
Creates the directory named by this abstract pathname including any necessary but nonexistent parent directories. |
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. |
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. |
String[] list()
|
Documentation changed from old to new. |
Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname. |
String[] list(FilenameFilter )
|
Documentation changed from old to new. |
Returns an array of strings naming the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |
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. |