|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.File uk.ac.roe.antigen.utils.CopyableFile
A file that is able to be copied - you'd think this would be straightforward wouldn't you?
Field Summary |
Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
Constructor Summary | |
CopyableFile(java.io.File arg0)
|
|
CopyableFile(java.io.File arg0,
java.lang.String arg1)
|
|
CopyableFile(java.lang.String arg0)
|
|
CopyableFile(java.lang.String arg0,
java.lang.String arg1)
|
|
CopyableFile(java.net.URI arg0)
|
Method Summary | |
void |
copyTo(java.io.File newLocation)
Copy this file or directory to the given new location |
static void |
main(java.lang.String[] args)
|
boolean |
recursivelyDelete()
You'd think this would be obvious.... |
Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CopyableFile(java.lang.String arg0)
arg0
- public CopyableFile(java.io.File arg0, java.lang.String arg1)
arg0
- arg1
- public CopyableFile(java.io.File arg0)
public CopyableFile(java.lang.String arg0, java.lang.String arg1)
arg0
- arg1
- public CopyableFile(java.net.URI arg0)
arg0
- Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void copyTo(java.io.File newLocation) throws java.io.IOException
newLocation
-
java.io.IOException
public boolean recursivelyDelete()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |