|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use File | |
edu.utexas.beg.agi.servlet | |
java.io | |
java.lang |
Uses of File in edu.utexas.beg.agi.servlet |
Fields in edu.utexas.beg.agi.servlet declared as File | |
private File |
DynamicHTMLPage.rootFilePath
The root of all file paths, i.e. |
Uses of File in java.io |
Methods in java.io that return File | |
abstract File[] |
FileSystem.listRoots()
List the available filesystem roots. |
File |
File.getParentFile()
Returns the abstract pathname of this abstract pathname's parent, or null if this pathname does not name a parent
directory. |
File |
File.getAbsoluteFile()
Returns the absolute form of this abstract pathname. |
File |
File.getCanonicalFile()
Returns the canonical form of this abstract pathname. |
File[] |
File.listFiles()
Returns an array of abstract pathnames denoting the files in the directory denoted by this abstract pathname. |
File[] |
File.listFiles(FilenameFilter filter)
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[] |
File.listFiles(FileFilter filter)
Returns an array of abstract pathnames denoting the files and directories in the directory denoted by this abstract pathname that satisfy the specified filter. |
static File[] |
File.listRoots()
List the available filesystem roots. |
private static File |
File.generateFile(String prefix,
String suffix,
File dir)
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name. |
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name. |
Methods in java.io with parameters of type File | |
abstract boolean |
FileSystem.isAbsolute(File f)
Tell whether or not the given abstract pathname is absolute. |
abstract String |
FileSystem.resolve(File f)
Resolve the given abstract pathname into absolute form. |
abstract int |
FileSystem.getBooleanAttributes(File f)
Return the simple boolean attributes for the file or directory denoted by the given abstract pathname, or zero if it does not exist or some other I/O error occurs. |
abstract boolean |
FileSystem.checkAccess(File f,
boolean write)
Check whether the file or directory denoted by the given abstract pathname may be accessed by this process. |
abstract long |
FileSystem.getLastModifiedTime(File f)
Return the time at which the file or directory denoted by the given abstract pathname was last modified, or zero if it does not exist or some other I/O error occurs. |
abstract long |
FileSystem.getLength(File f)
Return the length in bytes of the file denoted by the given abstract pathname, or zero if it does not exist, is a directory, or some other I/O error occurs. |
abstract boolean |
FileSystem.delete(File f)
Delete the file or directory denoted by the given abstract pathname, returning true if and only if the operation succeeds. |
abstract boolean |
FileSystem.deleteOnExit(File f)
Arrange for the file or directory denoted by the given abstract pathname to be deleted when the VM exits, returning true if
and only if the operation succeeds. |
abstract String[] |
FileSystem.list(File f)
List the elements of the directory denoted by the given abstract pathname. |
abstract boolean |
FileSystem.createDirectory(File f)
Create a new directory denoted by the given abstract pathname, returning true if and only if the operation succeeds. |
abstract boolean |
FileSystem.rename(File f1,
File f2)
Rename the file or directory denoted by the first abstract pathname to the second abstract pathname, returning true if and only if
the operation succeeds. |
abstract boolean |
FileSystem.setLastModifiedTime(File f,
long time)
Set the last-modified time of the file or directory denoted by the given abstract pathname, returning true if and only if the
operation succeeds. |
abstract boolean |
FileSystem.setReadOnly(File f)
Mark the file or directory denoted by the given abstract pathname as read-only, returning true if and only if the operation
succeeds. |
abstract int |
FileSystem.compare(File f1,
File f2)
Compare two abstract pathnames lexicographically. |
abstract int |
FileSystem.hashCode(File f)
Compute the hash code of an abstract pathname. |
boolean |
File.renameTo(File dest)
Renames the file denoted by this abstract pathname. |
private static File |
File.generateFile(String prefix,
String suffix,
File dir)
|
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name. |
int |
File.compareTo(File pathname)
Compares two abstract pathnames lexicographically. |
boolean |
FileFilter.accept(File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list. |
boolean |
FilenameFilter.accept(File dir,
String name)
Tests if a specified file should be included in a file list. |
Constructors in java.io with parameters of type File | |
FileWriter.FileWriter(File file)
|
|
FileInputStream.FileInputStream(File file)
Creates a FileInputStream by
opening a connection to an actual file,
the file named by the File
object file in the file system. |
|
FileReader.FileReader(File file)
|
|
FileOutputStream.FileOutputStream(File file)
Creates a file output stream to write to the file represented by the specified File object. |
|
RandomAccessFile.RandomAccessFile(File file,
String mode)
Creates a random access file stream to read from, and optionally to write to, the file specified by the File argument. |
|
File.File(File parent,
String child)
Creates a new File instance from a parent abstract
pathname and a child pathname string. |
Uses of File in java.lang |
Methods in java.lang with parameters of type File | |
private static boolean |
ClassLoader.loadLibrary0(Class fromClass,
File file)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |