extractFile (HTMLReference - Java)
Extracts an RTF embedded file and copies it to a local disk.
Defined in
HTMLReferenceSyntax
public void extractFile(String FileName)
throws NotesException
public void extractFile(String FileName, Boolean Replaceexistingfile)
throws NotesException
Parameters
| Parameter | Description |
|---|---|
| FileName | String. The name of a file in an HTML reference that is to be extracted and saved to disk. |
| Replaceexistingfile | Boolean. Specify True to replace existing file with that file name. Specify False to throw a "File already exists" exception when trying to replace a existing file. |
Possible Exception
| Possible exception | Description |
|---|---|
| File already exists (4837) | Indicates that a file with this file name already exists. |
Language cross-reference
ExtractFile in LotusScript HTMLReference class
extractFile in JavaScript HTMLReference class