getName

fun getName(): String

Gets the name of the resource.

Return

The name of the resource.

Throws

IllegalStateException

If this resource is closed or invalid.