|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.bham.gloss.Copy
public class Copy
Class providing a command line utility to copy files listed in file "list" in directory args[0] to the directory of the file args[1], by default without clobbering existing files. If args[0] and/or args[1] are plain directories they MUST end with the file separator. They can bethe names of regular files in which case the containing directory is used. Copyright Richard Kaye 2007 for GLOSS, http://gloss.bham.ac.uk Usage permitted according to the GPL. No waranty.
Constructor Summary | |
---|---|
Copy()
|
Method Summary | |
---|---|
static void |
copy(ParameterContainer params,
Logger logger)
This is the main command line, with logger and parameter container arguments. |
static void |
copy(java.lang.String src,
java.lang.String dest,
boolean clobber,
Logger logger)
This is the main executed method: copies files listed in file "list" in directory src to the directory of the file dest, with silent and clobber flags. |
static void |
copyFiles(java.lang.String srcDir,
java.lang.String destDir,
boolean clobber,
Logger logger)
copies any files in srcDir to destDir |
static void |
main(java.lang.String[] args)
main: called from the console. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Copy()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void copy(ParameterContainer params, Logger logger) throws java.io.IOException
java.io.IOException
public static void copy(java.lang.String src, java.lang.String dest, boolean clobber, Logger logger)
public static void copyFiles(java.lang.String srcDir, java.lang.String destDir, boolean clobber, Logger logger)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |