class TypedPath extends AnyRef
Represents a file system path. Provides (possibly) fast accessors for some properties of the file. It is generally unsafe to cache as the properties do not change if the underlying file is modified.
- Annotations
- @JSExportTopLevel( "TypedPath" ) @JSExportAll()
- Alphabetic
- By Inheritance
- TypedPath
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TypedPath(typedPath: files.TypedPath)
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exists: Boolean
Returns true if the path at TypedPath.getPath existed when this TypedPath was created.
Returns true if the path at TypedPath.getPath existed when this TypedPath was created.
- returns
true if this TypedPath exists.
-
def
expanded: String
Returns the real path when this typed path is a symbolic link.
Returns the real path when this typed path is a symbolic link. Otherwise returns the path itself. Unlike java.nio.file.Path.toRealPath, if a parent of the path is a symbolic link, but the path itself is not, the path is not expanded.
- returns
the expanded path.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getPath: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDirectory: Boolean
Returns true if the path at TypedPath.getPath was a directory when this TypedPath was created.
Returns true if the path at TypedPath.getPath was a directory when this TypedPath was created.
- returns
true if this TypedPath represents a directory.
-
def
isFile: Boolean
Returns true if the path at TypedPath.getPath was a regular file when this TypedPath was created.
Returns true if the path at TypedPath.getPath was a regular file when this TypedPath was created.
- returns
true if this TypedPath represents a regular file.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSymbolicLink: Boolean
Returns true if the path at TypedPath.getPath was a symbolic link when this TypedPath was created.
Returns true if the path at TypedPath.getPath was a symbolic link when this TypedPath was created.
- returns
true if this TypedPath represents a symbolic link.
-
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
Return the right value if this JSEither represents a right value.
Return the right value if this JSEither represents a right value. Otherwise throw a com.swoval.functional.Either.NotRightException.
- returns
the right value.
- Definition Classes
- TypedPath → 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
- @native() @throws( ... )