Packages

trait PlatformPath extends Object with StObject

Annotations
@JSType() @native()
Source
pathMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlatformPath
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def basename(p: java.lang.String, ext: java.lang.String): java.lang.String
  6. def basename(p: java.lang.String): java.lang.String

    Return the last portion of a path.

    Return the last portion of a path. Similar to the Unix basename command. Often used to extract the file name from a fully qualified path.

    p

    the path to evaluate.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val delimiter: java.lang.String

    The platform-specific file delimiter.

    The platform-specific file delimiter. ';' or ':'.

  9. def dirname(p: java.lang.String): java.lang.String

    Return the directory name of a path.

    Return the directory name of a path. Similar to the Unix dirname command.

    p

    the path to evaluate.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def extname(p: java.lang.String): java.lang.String

    Return the extension of the path, from the last '.' to end of string in the last portion of the path.

    Return the extension of the path, from the last '.' to end of string in the last portion of the path. If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string

    p

    the path to evaluate.

  13. def format(pP: FormatInputPathObject): java.lang.String

    Returns a path string from an object - the opposite of parse().

  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def isAbsolute(p: java.lang.String): Boolean

    Determines whether {path} is an absolute path.

    Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. def join(paths: java.lang.String*): java.lang.String

    Join all arguments together and normalize the resulting path.

    Join all arguments together and normalize the resulting path. Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.

    paths

    paths to join.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def normalize(p: java.lang.String): java.lang.String

    Normalize a string path, reducing '..' and '.' parts.

    Normalize a string path, reducing '..' and '.' parts. When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.

    p

    string path to normalize.

  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. def parse(p: java.lang.String): ParsedPath

    Returns an object from a path string - the opposite of format().

  26. val posix: PlatformPath

    Posix specific pathing.

    Posix specific pathing. Same as parent object on posix.

  27. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  28. def relative(from: java.lang.String, to: java.lang.String): java.lang.String

    Solve the relative path from {from} to {to}.

    Solve the relative path from {from} to {to}. At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.

  29. def resolve(pathSegments: java.lang.String*): java.lang.String

    The right-most parameter is considered {to}.

    The right-most parameter is considered {to}. Other parameters are considered an array of {from}.

    Starting from leftmost {from} parameter, resolves {to} to an absolute path.

    If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.

    pathSegments

    string paths to join. Non-string arguments are ignored.

  30. val sep: java.lang.String

    The platform-specific file separator.

    The platform-specific file separator. '\\' or '/'.

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  33. def toNamespacedPath(path: java.lang.String): java.lang.String

    On Windows systems only, returns an equivalent namespace-prefixed path for the given path.

    On Windows systems only, returns an equivalent namespace-prefixed path for the given path. If path is not a string, path will be returned without modifications. This method is meaningful only on Windows system. On POSIX systems, the method is non-operational and always returns path without modifications.

  34. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  35. def valueOf(): Any
    Definition Classes
    Object
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. val win32: PlatformPath

    Windows specific pathing.

    Windows specific pathing. Same as parent object on windows

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped