saveAs

public final void saveAs(String path)

Saves the current changes to a file at the specified path.

Parameters

path

The file path where the document will be saved.