isValidFileUri

Validates that a file URI has a valid scheme and format.

Return

true if the URI is valid (has accepted scheme), false otherwise

Parameters

uri

The file URI to validate