← Docs
kotlin-stdlib / kotlin.io.path / java.nio.file.Path / getOwner

getOwner

JVM
JRE7
1.5
fun Path . getOwner ( vararg options : LinkOption ) : UserPrincipal ?
(source)

Returns the owner of a file.

Exceptions

UnsupportedOperationException - if the associated file system does not support the FileOwnerAttributeView .

See Also

Files.getOwner

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .