Packages

implicit final class FileOps extends AnyVal

Extension methods for File.

Source
util.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileOps
  2. AnyVal
  3. Any
Implicitly
  1. by AnyOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FileOps(value: File)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from FileOps to any2stringadd[FileOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FileOps, B)
    Implicit
    This member is added by an implicit conversion from FileOps to ArrowAssoc[FileOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def /(file: String): File

    Creates a new File instance from a parent File and a child pathname string.

    Creates a new File instance from a parent File and a child pathname string.

    file

    the child pathname string

    returns

    the new File instance

    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. def ancestors: Stream[File]

    Returns a lazy list containing a File ancestors.

    Returns a lazy list containing a File ancestors.

    returns

    the lazy list containing all ancestors

    Annotations
    @SuppressWarnings()
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def ensuring(cond: (FileOps) ⇒ Boolean, msg: ⇒ Any): FileOps
    Implicit
    This member is added by an implicit conversion from FileOps to Ensuring[FileOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (FileOps) ⇒ Boolean): FileOps
    Implicit
    This member is added by an implicit conversion from FileOps to Ensuring[FileOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): FileOps
    Implicit
    This member is added by an implicit conversion from FileOps to Ensuring[FileOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): FileOps
    Implicit
    This member is added by an implicit conversion from FileOps to Ensuring[FileOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from FileOps to StringFormat[FileOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def future: Future[FileOps]

    Creates an already completed Future containing value.

    Creates an already completed Future containing value.

    returns

    the already completed Future with the specified result

    Implicit
    This member is added by an implicit conversion from FileOps to AnyOps[FileOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
    Annotations
    @inline()
  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. def hasExtension(extension: String): Boolean

    Whether a file ends with a given extension.

    Whether a file ends with a given extension. A leading dot (".") is automatically inserted if it doesn't exist already.

    extension

    the file extension optionally including the dot, e.g. ".jpg"

    returns

    true if the file ends with ext, false otherwise

    Annotations
    @inline()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def option: Option[FileOps]

    Creates an Option containing value.

    Creates an Option containing value.

    returns

    Some(value) if value is not null, None otherwise

    Implicit
    This member is added by an implicit conversion from FileOps to AnyOps[FileOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
    Annotations
    @inline()
  19. def path: Seq[String]

    Returns a list of path ancestors split by the OS-specific path separator.

    Returns a list of path ancestors split by the OS-specific path separator.

    returns

    the list of path ancestors

  20. def tap(f: (FileOps) ⇒ Unit): FileOps

    Applies side-effectul method to value, returning value.

    Applies side-effectul method to value, returning value.

    f

    the side-effectful method to apply to value

    returns

    value

    Implicit
    This member is added by an implicit conversion from FileOps to AnyOps[FileOps] performed by method AnyOps in scail.commons.ops.
    Definition Classes
    AnyOps
  21. def toString(): String
    Definition Classes
    Any
  22. def [B](y: B): (FileOps, B)
    Implicit
    This member is added by an implicit conversion from FileOps to ArrowAssoc[FileOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion AnyOps from FileOps to AnyOps[FileOps]

Inherited by implicit conversion any2stringadd from FileOps to any2stringadd[FileOps]

Inherited by implicit conversion StringFormat from FileOps to StringFormat[FileOps]

Inherited by implicit conversion Ensuring from FileOps to Ensuring[FileOps]

Inherited by implicit conversion ArrowAssoc from FileOps to ArrowAssoc[FileOps]

Ungrouped