|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.core.util.FileCopyUtil
public class FileCopyUtil
Utility class for copying files and folders
| Method Summary | |
|---|---|
static void |
copyFile(java.lang.String sourceFile,
java.lang.String targetFolder)
Copies a source file to a target folder |
static void |
copyFile(java.lang.String sourceFolder,
java.lang.String targetFolder,
java.lang.String sourceName,
java.lang.String targetName)
Copies a file in a source folder to a target folder |
static void |
copyFolder(java.lang.String sourceFolder,
java.lang.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(java.lang.String sourceFolder,
java.lang.String targetFolder)
throws java.io.FileNotFoundException,
java.io.IOException
sourceFolder - the source foldertargetFolder - the target folder
java.io.FileNotFoundException
java.io.IOException
public static void copyFile(java.lang.String sourceFile,
java.lang.String targetFolder)
throws java.io.FileNotFoundException,
java.io.IOException
sourceFile - the source filetargetFolder - the target folder
java.io.FileNotFoundException
java.io.IOException
public static void copyFile(java.lang.String sourceFolder,
java.lang.String targetFolder,
java.lang.String sourceName,
java.lang.String targetName)
throws java.io.FileNotFoundException,
java.io.IOException
sourceFolder - the source foldertargetFolder - the target foldersourceName - of the source file to copytargetName - of the destination file to copy to
java.io.FileNotFoundException
java.io.IOException
|
Runtime | |||||||||
| 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., Borland Software Corp., and others 2005,2006. All rights reserved.