.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

JAVA/CORBA CLASSES


truncate method
Example

Deletes the contents of a stream.

Defined in

Stream

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.

Language cross-reference

Truncate method in LotusScript NotesStream class

Example