|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.io.Files
public class Files
Utility methods for dealing with files.
Constructor Summary | |
---|---|
Files()
|
Method Summary | |
---|---|
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[] files)
Verify that files are writeable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Files()
Method Detail |
---|
public static File[] expand(File file)
file
- The file.
public static File[] expand(File[] files)
files
- The in files.
public static void verifyReadable(File[] files) throws RuntimeException
files
- The files.
RuntimeException
public static void verifyWrite(File[] files) throws RuntimeException
files
- The files.
RuntimeException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |