Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.appendFile

Appends data to a disk file.

This method has two variants:


Utilities.appendFile

Appends a string to a disk file.

Syntax

Parameters

fname
The path and file name of the file to append to.

str
The file data to append, in string form.

Description

The appendFile method appends a string to a disk file.

Returns

Returns true on success, false on failure.

See Also

osSafeSpec


Utilities.appendFile

Appends an array of bytes to a disk file.

Syntax

Parameters

fname
The path and file name of the file to append.

bits
The file data to append, in a byte array.

size
The number of bytes to append.

Description

The appendFile method appends an array of bytes to a disk file. The file name is internally converted by osSafeSpec().

Returns

Returns true on success, false on failure.

See Also

 

  Home > Contents > Index >

FatWire JAVA Reference
Copyright 2005 by FatWire Software
All rights reserved.