public class FileIO
extends java.lang.Object
Constructor | Description |
---|---|
FileIO() |
Modifier and Type | Method | Description |
---|---|---|
void |
copy(java.io.File src,
java.io.File des) |
Copy source file (src) to destination file (des) and throws
an IOException if there is an error.
|
void |
copy(java.io.File src,
java.io.File des,
boolean delete) |
Copy source file (src) to destination file (des) and throws
an IOException if there is an error.
|
void |
copy(java.io.File src,
java.lang.StringBuffer des) |
|
void |
copy(java.io.File src,
java.lang.StringBuffer des,
boolean delete) |
|
void |
copy(java.lang.StringBuffer src,
java.io.File des) |
|
void |
copy(java.lang.StringBuffer src,
java.io.File des,
long modified) |
|
void |
copy(java.lang.StringBuffer src,
java.lang.String des) |
|
void |
copy(java.lang.StringBuffer src,
java.lang.String des,
long modified) |
|
void |
copy(java.lang.String src,
java.lang.String des) |
Copy source file (src) to destination file (des) and throws
an IOException if there is an error.
|
void |
copy(java.lang.String src,
java.lang.StringBuffer des) |
|
void |
copy(java.lang.String src,
java.lang.StringBuffer des,
boolean delete) |
|
void |
copy(java.lang.String src,
java.lang.String des,
boolean delete) |
Copy source file (src) to destination file (des) and throws
an IOException if there is an error.
|
static boolean |
getDirectoryExists(java.lang.String dirname) |
See whether a directory already exists ...
|
static boolean |
getFileExists(java.lang.String filename) |
Get whether a file exists at a particular location ...
|
static boolean |
getFileExists(java.lang.String path,
java.lang.String filename) |
Get whether a file exists at a particular location ...
|
boolean |
getIsDoneBF() |
|
boolean |
getIsDoneFB() |
|
boolean |
getIsDoneFF() |
|
int |
getProgressBF() |
|
int |
getProgressFB() |
|
int |
getProgressFF() |
public void copy(java.lang.String src, java.lang.String des) throws java.io.IOException
src
- des
- java.io.IOException
public void copy(java.lang.String src, java.lang.String des, boolean delete) throws java.io.IOException
src
- des
- delete
- java.io.IOException
public void copy(java.io.File src, java.io.File des) throws java.io.IOException
src
- des
- java.io.IOException
public void copy(java.io.File src, java.io.File des, boolean delete) throws java.io.IOException
src
- des
- delete
- java.io.IOException
public void copy(java.lang.String src, java.lang.StringBuffer des) throws java.io.IOException
java.io.IOException
public void copy(java.lang.String src, java.lang.StringBuffer des, boolean delete) throws java.io.IOException
java.io.IOException
public void copy(java.io.File src, java.lang.StringBuffer des) throws java.io.IOException
java.io.IOException
public void copy(java.io.File src, java.lang.StringBuffer des, boolean delete) throws java.io.IOException
java.io.IOException
public void copy(java.lang.StringBuffer src, java.lang.String des) throws java.io.IOException
java.io.IOException
public void copy(java.lang.StringBuffer src, java.lang.String des, long modified) throws java.io.IOException
java.io.IOException
public void copy(java.lang.StringBuffer src, java.io.File des) throws java.io.IOException
java.io.IOException
public void copy(java.lang.StringBuffer src, java.io.File des, long modified) throws java.io.IOException
java.io.IOException
public static boolean getDirectoryExists(java.lang.String dirname)
dirname
- directory namepublic static boolean getFileExists(java.lang.String filename)
filename
- file namepublic static boolean getFileExists(java.lang.String path, java.lang.String filename)
path
- pathfilename
- file namepublic boolean getIsDoneBF()
public boolean getIsDoneFB()
public boolean getIsDoneFF()
public int getProgressBF()
public int getProgressFB()
public int getProgressFF()