File.getIntent

FileIntent getIntent()

Gets the intent (access mode) the file was opened with.

Returns

FileIntent indicating whether file is read-only or read-write

Throws

HDF5Exception if getting the intent fails