Package | Description |
---|---|
java.io | |
java.lang | |
java.util.jar | |
java.util.zip |
Modifier and Type | Method and Description |
---|---|
static File |
File.createTempFile(String pre,
String suf) |
static File |
File.createTempFile(String pre,
String suf,
File dir) |
File |
File.getAbsoluteFile() |
File |
File.getCanonicalFile() |
File |
File.getParentFile() |
File[] |
File.listFiles() |
File[] |
File.listFiles(FileFilter filter) |
File[] |
File.listFiles(FilenameFilter filter) |
static File[] |
File.listRoots() |
Modifier and Type | Method and Description |
---|---|
boolean |
FileFilter.accept(File file) |
boolean |
FilenameFilter.accept(File dir,
String name) |
int |
File.compareTo(File pathname) |
static File |
File.createTempFile(String pre,
String suf,
File dir) |
boolean |
File.renameTo(File dest) |
Constructor and Description |
---|
File(File dir,
String name) |
FileInputStream(File file) |
FileOutputStream(File file) |
FileOutputStream(File file,
boolean append) |
FileReader(File file) |
FileWriter(File file) |
FileWriter(File file,
boolean append) |
RandomAccessFile(File file,
String mode) |
Modifier and Type | Method and Description |
---|---|
Process |
Runtime.exec(String[] cmdarray,
String[] envp,
File path) |
Process |
Runtime.exec(String command,
String[] envp,
File path) |
Constructor and Description |
---|
JarFile(File file)
Create a new JarFile using the contents of file.
|
JarFile(File file,
boolean verify)
Create a new JarFile using the contents of file.
|
JarFile(File file,
boolean verify,
int mode)
Create a new JarFile using the contents of file.
|
Constructor and Description |
---|
ZipFile(File file) |
ZipFile(File file,
int mode) |