org.eclipse.emf.mwe.utils
Class FileCopy

java.lang.Object
  extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
      extended by org.eclipse.emf.mwe.utils.FileCopy
All Implemented Interfaces:
WorkflowComponent, WorkflowComponentWithID, IWorkflowComponent

public class FileCopy
extends AbstractWorkflowComponent

Copies one file in the file system to another location. Performs low-level read/write operations using NIO.

Author:
Achim Demelt

Constructor Summary
FileCopy()
           
 
Method Summary
 void checkConfiguration(Issues issues)
           
protected  void invokeInternal(WorkflowContext ctx, ProgressMonitor monitor, Issues issues)
           
 void setSourceFile(String sourceFile)
           
 void setTargetFile(String targetFile)
           
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getComponentName, getContainer, getId, getLocation, getLogMessage, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCopy

public FileCopy()
Method Detail

setSourceFile

public void setSourceFile(String sourceFile)

setTargetFile

public void setTargetFile(String targetFile)

checkConfiguration

public void checkConfiguration(Issues issues)

invokeInternal

protected void invokeInternal(WorkflowContext ctx,
                              ProgressMonitor monitor,
                              Issues issues)
Specified by:
invokeInternal in class AbstractWorkflowComponent


Copyright © 2015. All rights reserved.