Difference between revisions of "WriteFileStage"
From CCIL
(Created page with "Writes a ''java.lang.String'' to a ''java.io.File''. == Overview == {| |- | '''jar''' | ccil-api |- | '''recommended name''' | file-write |- | '''class''' | net.ccil.st...") |
(No difference)
|
Latest revision as of 11:10, 2 June 2017
Writes a java.lang.String to a java.io.File.
Overview
jar | ccil-api |
recommended name | file-write |
class | net.ccil.stages.io.WriteFileStage |
location | /ccil-api/src/main/java/net/ccil/stages/io/WriteFileStage.java |
svn | svn://svn.code.sf.net/p/ccil/code/trunk/src/api/src/main/java/net/ccil/stages/io/WriteFileStage.java |
Parameters
Name | Type | Description | Comment |
---|---|---|---|
content | java.lang.String | The content to be written. | |
file | java.lang.String | The path to open the java.io.File at. | |
append | java.lang.Boolean | Append or replace? | |
encoding | java.lang.String | The encoding to use when writing the content. | |
separator | java.lang.String | A separator string to put at the end of the file. |
Registration
service:file-write rdf:type entity:service ; entity:implementation "net.ccil.stages.io.WriteFileStage" ; entity:classpath "" ; entity:arguments "" .
Context
TBA
Example
TBA