Difference between revisions of "CopyDirStage"

From CCIL
Jump to: navigation, search
(Created page with "Copies a directory. == Overview == <br/> {| |- | '''jar''' | ccil-api |- | '''recommended name''' | dir-copy |- | '''class''' | net.ccil.stages.io.CopyDirStage |- | '''...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Copies a directory.
+
Copies recursively a directory.
  
 
== Overview ==
 
== Overview ==
<br/>
 
 
{|
 
{|
 
|-
 
|-
Line 36: Line 35:
 
| ''java.lang.String''
 
| ''java.lang.String''
 
| A target directory.
 
| A target directory.
 +
|
 +
|-
 +
| failSafe
 +
| ''java.lang.Boolean''
 +
| Ignore errors.
 +
|
 +
|-
 +
| skip
 +
| ''java.lang.String''
 +
| Comma-separated list with items to skip. They can be both files or folders.
 
|  
 
|  
 
|-
 
|-
Line 62: Line 71:
  
 
== See Also ==
 
== See Also ==
 +
* [[Stages#IO|IO Stages]]

Latest revision as of 08:14, 2 June 2017

Copies recursively a directory.

Overview

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

Parameters

Name Type Description Comment
name java.lang.String The source directory.
target java.lang.String A target directory.
failSafe java.lang.Boolean Ignore errors.
skip java.lang.String Comma-separated list with items to skip. They can be both files or folders.

Registration

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

Context

TBA

Example

TBA

See Also