|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use File |
|
Provides for system input and output through data streams,
serialization and the file system.
|
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
class |
An abstract representation of file and directory pathnames.
|
static File |
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
File.getAbsoluteFile()
Returns the absolute form of this abstract pathname.
|
|
File.getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
|
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.listFiles()
Returns an array of abstract pathnames denoting the files in the
directory denoted by this abstract pathname.
|
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.
|
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.
|
static File[] |
File.listRoots()
List the available filesystem roots.
|
int |
Compares two abstract pathnames lexicographically.
|
static File |
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
boolean |
Renames the file denoted by this abstract pathname.
|
boolean |
Tests whether or not the specified abstract pathname should be
included in a pathname list.
|
boolean |
Tests if a specified file should be included in a file list.
|
Creates a new File instance from a parent abstract
pathname and a child pathname string.
|
|
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.
|
|
FileOutputStream(File file)
Creates a file output stream to write to the file represented by
the specified File object.
|
|
FileOutputStream(File file, boolean append)
Creates a file output stream to write to the file represented by
the specified File object.
|
|
FileReader(File file)
|
|
FileWriter(File file)
|
|
FileWriter(File file, boolean append)
Constructs a FileWriter given the File to write and
a boolean indicating whether to append the data written, using the platform's
default charset.
|
|
Constructs a FileWriter given the File to write,
charset and a boolean indicating
whether to append the data written.
|
|
PrintStream(File file)
Creates a new print stream, without automatic line flushing, with the
specified file.
|
|
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
|
|
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
|
|
PrintWriter(File file)
Creates a new PrintWriter, without automatic line flushing, with the
specified file.
|
|
Creates a new PrintWriter, without automatic line flushing, with the
specified file and charset.
|
|
Creates a new PrintWriter, without automatic line flushing, with the
specified file and charset.
|
|
Creates a random access file stream to read from, and optionally to
write to, the file specified by the File argument.
|
ProcessBuilder.directory()
Returns this process builder's working directory.
|
|
ProcessBuilder.Redirect.file()
Returns the File source or destination associated
with this redirect, or null if there is no such file.
|
Sets this process builder's working directory.
|
|
ProcessBuilder.redirectError(File file)
Sets this process builder's standard error destination to a file.
|
|
ProcessBuilder.redirectInput(File file)
Sets this process builder's standard input source to a file.
|
|
ProcessBuilder.redirectOutput(File file)
Sets this process builder's standard output destination to a file.
|
|
static ProcessBuilder.Redirect |
Returns a redirect to append to the specified file.
|
static ProcessBuilder.Redirect |
Returns a redirect to read from the specified file.
|
static ProcessBuilder.Redirect |
Returns a redirect to write to the specified file.
|
Executes the specified string command in a separate process with the
specified environment and working directory.
|
|
Executes the specified command and arguments in a separate process with
the specified environment and working directory.
|
Constructs a new formatter with the specified file.
|
|
Constructs a new formatter with the specified file, charset, and
locale.
|
|
Constructs a new formatter with the specified file and charset.
|
|
Constructs a new formatter with the specified file, charset, and
locale.
|
|
Constructs a new Scanner that produces values scanned
from the specified file.
|
|
Constructs a new Scanner that produces values scanned
from the specified file.
|
|
Constructs a new Scanner that produces values scanned
from the specified file.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |