Difference between revisions of "ReadFileStage"

From CCIL
Jump to: navigation, search
(Arguments)
(Arguments)
 
Line 3: Line 3:
 
# file - The path to the file.
 
# file - The path to the file.
 
# output - The textual content of the file.
 
# output - The textual content of the file.
 +
 +
== Usage ==
 +
<pre>
 +
READ_FILE = readfile
 +
READ_FILE.file = languages/en/JWH_Memoirs.pdf
 +
READ_FILE.output = @xfer
 +
</pre>
  
 
== Registration ==
 
== Registration ==

Latest revision as of 06:15, 14 May 2017

Arguments

  1. file - The path to the file.
  2. output - The textual content of the file.

Usage

READ_FILE = readfile
READ_FILE.file = languages/en/JWH_Memoirs.pdf
READ_FILE.output = @xfer 

Registration

service:readfile	rdf:type		entity:service ;				
					entity:implementation	"net.ccil.stages.io.ReadFileStage" ;
					entity:classpath		"" ;
					entity:arguments		"" .