sealed trait FileAttributes extends AnyRef
Represents a minimal set of attributes a file. In contrast to
java.nio.file.attribute.BasicFileAttributes
, it is possible to compute the values provided
by this trait without stating the file. If all of the methods return false, the user may infer
that the file to which these attributes corresponds does not exist. An instance of this class
may not represent that current state of the file if the underlying file has been modified since
the instance was first created.
- Alphabetic
- By Inheritance
- FileAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
isDirectory: Boolean
Returns true if the underlying file is a directory.
Returns true if the underlying file is a directory.
- returns
true if the underlying file is a directory.
-
abstract
def
isOther: Boolean
Returns true if the underlying file is not a regular file, directory or symbolic link.
Returns true if the underlying file is not a regular file, directory or symbolic link. The type of this file is thus platform dependent. For example, on linux, it could be a named pipe.
- returns
true if the underlying file is not a regular file, directory or symbolic link.
-
abstract
def
isRegularFile: Boolean
Returns true if the underlying file is a regular file.
Returns true if the underlying file is a regular file.
- returns
true if the underlying file is a regular file.
-
abstract
def
isSymbolicLink: Boolean
Returns true if the underlying file is a symbolic link.
Returns true if the underlying file is a symbolic link.
- returns
true if the underlying file is a symbolic link.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()