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.


public final void saveAs(FileOutputStream stream)

Saves the current changes to the specified stream.

Parameters

stream

The stream where the document will be saved.