abstractText (Item - Java)

Abbreviates the contents of a text item.

Defined in

Item

Syntax

public String abstractText(int maxlen, boolean dropvowels, boolean userdict)
    throws NotesException

Parameters

int maxlen

The maximum length of the abbreviation.

boolean dropvowels

Specify true if you want to drop vowels from the words in the item. Otherwise, specify false.

boolean userdict

Specify true if you want to use the table of abbreviations in NOTEABBR.TXT. Otherwise, specify false.

Return value

String

The contents of the item, with vowels dropped and abbreviations substituted (if specified), then truncated to fit to maxlen.

Example