| java.lang.Object org.eclipse.ui.internal.wizards.datatransfer.FileSystemExporter
FileSystemExporter | public class FileSystemExporter (Code) | | Helper class for exporting resources to the file system.
|
Method Summary | |
public void | createFolder(IPath destinationPath) Creates the specified file system directory at destinationPath . | public void | write(IResource resource, IPath destinationPath) Writes the passed resource to the specified location recursively. | protected void | writeChildren(IContainer folder, IPath destinationPath) | protected void | writeFile(IFile file, IPath destinationPath) | protected void | writeResource(IResource resource, IPath destinationPath) |
createFolder | public void createFolder(IPath destinationPath)(Code) | | Creates the specified file system directory at destinationPath .
This creates a new file system directory.
Parameters: destinationPath - location to which files will be written |
write | public void write(IResource resource, IPath destinationPath) throws CoreException, IOException(Code) | | Writes the passed resource to the specified location recursively.
Parameters: resource - the resource to write out to the file system Parameters: destinationPath - location where the resource will be written exception: CoreException - if the operation fails exception: IOException - if an I/O error occurs when writing files |
writeChildren | protected void writeChildren(IContainer folder, IPath destinationPath) throws CoreException, IOException(Code) | | Exports the passed container's children
|
writeFile | protected void writeFile(IFile file, IPath destinationPath) throws IOException, CoreException(Code) | | Writes the passed file resource to the specified destination on the local
file system
|
writeResource | protected void writeResource(IResource resource, IPath destinationPath) throws CoreException, IOException(Code) | | Writes the passed resource to the specified location recursively
|
|
|