|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.xtools.patterns.framework.test.FileCopyUtil
Utility class for copying files and folders
| Method Summary | |
static void |
copyFile(String sourceFile,
String targetFolder)
Copies a source file to a target folder |
static void |
copyFile(String sourceFolder,
String targetFolder,
String sourceName,
String targetName)
Copies a file in a source folder to a target folder |
static void |
copyFolder(String sourceFolder,
String targetFolder)
Copies the contents of a source folder to a target folder |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void copyFolder(String sourceFolder,
String targetFolder)
throws FileNotFoundException,
IOException
sourceFolder - the source foldertargetFolder - the target folder
FileNotFoundException
IOException
public static void copyFile(String sourceFile,
String targetFolder)
throws FileNotFoundException,
IOException
sourceFile - the source filetargetFolder - the target folder
FileNotFoundException
IOException
public static void copyFile(String sourceFolder,
String targetFolder,
String sourceName,
String targetName)
throws FileNotFoundException,
IOException
sourceFolder - the source foldertargetFolder - the target foldersourceName - of the source file to copytargetName - of the destination file to copy to
FileNotFoundException
IOException
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.