CopyFileStage

From CCIL
Jump to: navigation, search

Copies a file.

Overview


jar ccil-api
recommended name file-copy
class net.ccil.stages.io.CopyFileStage
location /ccil-api/src/main/java/net/ccil/stages/io/CopyFileStage.java
svn svn://svn.code.sf.net/p/ccil/code/trunk/src/api/src/main/java/net/ccil/stages/io/CopyFileStage.java

Parameters

Name Type Description Comment
name java.lang.String The source directory.
target java.lang.String A target directory.
overwrite java.lang.Boolean Overwrite target if exists..
failSafe java.lang.Boolean Ignore errors.

Registration

service:file-copy	rdf:type	entity:service ;				
				entity:implementation	"net.ccil.stages.io.CopyFileStage" ;
				entity:classpath	"" ;
				entity:arguments	"" .

Context

TBA

Example

TBA

See Also