public class Files extends Object
Constructor and Description |
---|
Files() |
Modifier and Type | Method and Description |
---|---|
static File[] |
expand(File file)
Expand a file that could contain wild cards.
|
static File[] |
expand(File[] files)
Expand an array of files which could contain wildcards into
an actual array of files.
|
static void |
verifyReadable(File[] files)
Verify that all files are readable.
|
static void |
verifyWrite(File file)
Verify that a file is writeable.
|
static void |
verifyWrite(File[] files)
Verify that files are writeable.
|
public static File[] expand(File file) throws IOException
file
- The file.IOException
public static File[] expand(File[] files) throws IOException
files
- The in files.IOException
public static void verifyReadable(File[] files) throws RuntimeException
files
- The files.RuntimeException
public static void verifyWrite(File file) throws RuntimeException
file
- A file.RuntimeException
public static void verifyWrite(File[] files) throws RuntimeException
files
- The files.RuntimeException