de.sciss.file

RichFile

implicit final class RichFile extends AnyVal

Linear Supertypes
AnyVal, NotNull, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichFile
  2. AnyVal
  3. NotNull
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichFile(peer: File)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  2. final def ##(): Int

    Definition Classes
    Any
  3. def /(child: String): File

    Constructs a sub-file of this file by appending a new path component.

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  5. def absolute: File

  6. def absolutePath: String

    The string representation of the absolute location of this file.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def base: String

    Returns the name part of the file and drops the extension (if any).

  9. def baseAndExt: (String, String)

    Returns a tuple consisting of the file's name (without extension), and the extension (period dropped).

  10. def children(filter: (File) ⇒ Boolean): IndexedSeq[File]

    Lists all children of this directory which satisfy a predicate.

    Lists all children of this directory which satisfy a predicate. Returns an empty sequence if this file does not denote a directory.

    filter

    a filter predicate to select children

  11. def children: IndexedSeq[File]

    Lists all children of this directory.

    Lists all children of this directory. Returns an empty sequence if this file does not denote a directory.

  12. def ext: String

    Returns the extension of the file (period dropped).

    Returns the extension of the file (period dropped). Returns and empty string if no extension is given.

  13. def extL: String

    Returns the extension of the file (period dropped) in lower case letters.

    Returns the extension of the file (period dropped) in lower case letters. Returns and empty string if no extension is given.

  14. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def name: String

    Returns the name part of the file.

  17. def parent: File

  18. def parentOption: Option[File]

  19. def path: String

    The string representation of this file.

  20. val peer: File

  21. def relativize(parent: File): File

    Creates from this file a new file instance relative to a given parent directory.

    Creates from this file a new file instance relative to a given parent directory. Throws an exception if if parent does not constitute a parent directory.

  22. def relativizeOption(parent: File): Option[File]

    Creates from this file a new file instance relative to a given parent directory.

    Creates from this file a new file instance relative to a given parent directory.

    returns

    Some if this file is relative to parent, None if parent does not constitute a parent directory

  23. def replaceExt(s: String): File

    Replaces the extension by a given string.

    Replaces the extension by a given string. If the file did not have any extension, it will be added by this call.

    s

    the extension to use in replacement. May or may not contain a leading period.

  24. def replaceName(s: String): File

    Replaces the name part of this file, keeping the parent directory.

  25. def toString(): String

    Definition Classes
    Any

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Ungrouped