sealed trait RichNioPath extends Any
- Alphabetic
- By Inheritance
- RichNioPath
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
- def aclFileAttributeView: AclFileAttributeView
-
def
addPermission(permission: PosixFilePermission): Unit
Adds permission to this file.
Adds permission to this file. This operation requires underlying filesystem to support
IO.isPosix
.- permission
the permission to add
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attributes: BasicFileAttributes
- def dosAttributes: DosFileAttributes
-
def
equals(arg0: Any): Boolean
- Definition Classes
- Any
-
def
group: GroupPrincipal
Returns the group owner of a file.
Returns the group owner of a file. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
. -
def
groupName: String
Returns the group owner of a file.
Returns the group owner of a file. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
. -
def
hashCode(): Int
- Definition Classes
- Any
-
def
isGroupExecutable: Boolean
Tests if this file has the group+execute permission.
Tests if this file has the group+execute permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isGroupReadable: Boolean
Tests if this file has the group+read permission.
Tests if this file has the group+read permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isGroupWritable: Boolean
Tests if this file has the group+write permission.
Tests if this file has the group+write permission. This operation requires underlying filesystem to support
IO.isPosix
. -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isOthersExecutable: Boolean
Tests if this file has the others+execute permission.
Tests if this file has the others+execute permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isOthersReadable: Boolean
Tests if this file has the others+read permission.
Tests if this file has the others+read permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isOthersWritable: Boolean
Tests if this file has the others+write permission.
Tests if this file has the others+write permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isOwnerExecutable: Boolean
Tests if this file has the owner+execute permission.
Tests if this file has the owner+execute permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isOwnerReadable: Boolean
Tests if this file has the owner+read permission.
Tests if this file has the owner+read permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
isOwnerWritable: Boolean
Tests if this file has the owner+write permission.
Tests if this file has the owner+write permission. This operation requires underlying filesystem to support
IO.isPosix
. -
def
owner: UserPrincipal
Returns the owner of a file.
Returns the owner of a file. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
. -
def
ownerName: String
Returns the owner of a file.
Returns the owner of a file. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
. -
def
permissions: Set[PosixFilePermission]
Returns this file's POSIX permissions.
Returns this file's POSIX permissions. This operation requires underlying filesystem to support
IO.isPosix
. -
def
permissionsAsString: String
Returns this file's POSIX permissions.
Returns this file's POSIX permissions. This operation requires underlying filesystem to support
IO.isPosix
. - def posixAttributes: PosixFileAttributes
-
def
removePermission(permission: PosixFilePermission): Unit
Removes permission from this file.
Removes permission from this file. This operation requires underlying filesystem to support
IO.isPosix
.- permission
the permission to remove
-
def
setGroup(group: String): Unit
Updates the group owner of the file.
Updates the group owner of the file. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
.- group
the new group owner
-
def
setOwner(owner: String): Unit
Updates the file owner.
Updates the file owner. This operation requires underlying filesystem to support
IO.hasFileOwnerAttributeView
.- owner
the new group owner
-
def
setPermissions(permissions: Set[PosixFilePermission]): Unit
Updates permission of this file.
Updates permission of this file. This operation requires underlying filesystem to support
IO.isPosix
.- permissions
the permissions to add
-
def
testPermission(permission: PosixFilePermission): Boolean
Tests if this file has the given permission.
Tests if this file has the given permission. This operation requires underlying filesystem to support
IO.isPosix
.- permission
the permission to remove
-
def
toString(): String
- Definition Classes
- Any