public int getMode ()

Indicates whether this file dialog box is for loading from a file or for saving to a file.

Returns:  the mode of this file dialog window, either FileDialog.LOAD or FileDialog.SAVE

See also:
java.awt.FileDialog.LOAD, java.awt.FileDialog.SAVE, java.awt.FileDialog.setMode