<write>

Purpose/Function

Writes bytes to file; either overwrites or appends.

Attributes

NAME

TYPE

DEFAULT VALUE

DESCRIPTION

string

java.lang.String

required, if bytes is null

string to write

bytes

array of byte

required, if string is null

bytes to write

path

java.lang.String

required

file to write to

append

boolean

false

if true, appends; else overwrites

Elements

None.

ReturnValues

None.

Examples

...
<write string="FIRST LINE OF FILE" path="test.txt"/>
<write string="NEXT LINE OF FILE" path="test.txt" append="true"/>
...
  • No labels