truncate (Stream - Java™)
Deletes the contents of a stream.
Defined in
Syntax
public void truncate()
throws NotesException
Usage
This method throws an exception if the stream is read-only. See IsReadOnly.
When a stream is truncated, property values are:
Closing a stream with zero bytes deletes the associated file.