Class

fm.common.rich

RichFile

Related Doc: package rich

Permalink

final class RichFile extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichFile
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichFile(f: File)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def classpathLastModified(cl: ClassLoader): Long

    Permalink
  6. def classpathLastModified: Long

    Permalink
  7. def classpathLength(cl: ClassLoader): Long

    Permalink
  8. def classpathLength: Long

    Permalink
  9. def extension: Option[String]

    Permalink

    The extension (if any) of this file

  10. val f: File

    Permalink
  11. def findFiles(recursive: Boolean = true): Vector[File]

    Permalink

    Find all files under this directory (directories are not included in the result)

    Find all files under this directory (directories are not included in the result)

    Deprecated due to ambiguity. Prefer the fm.lazyseq.Implicits.RichLazySeqFile implementation

    Annotations
    @Deprecated
  12. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  13. def isClasspathDirectory(cl: ClassLoader): Boolean

    Permalink
  14. def isClasspathDirectory: Boolean

    Permalink
  15. def isClasspathFile(cl: ClassLoader): Boolean

    Permalink
  16. def isClasspathFile: Boolean

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def lastModifiedWithSecondPrecision: Long

    Permalink

    The File.lastModified value truncated to seconds (which matches the pre JDK-9 Linux/OSX behavior of File.lastModified)

    The File.lastModified value truncated to seconds (which matches the pre JDK-9 Linux/OSX behavior of File.lastModified)

    returns

    The number of milliseconds since since the epoch (00:00:00 GMT, January 1, 1970) truncated to second precision.

  19. def nameWithoutExtension: String

    Permalink

    The name of the file without it's extension

  20. def stripLeading(path: File): File

    Permalink

    If this path starts with the passed in path then strip it

  21. def stripTrailing(path: File): File

    Permalink

    If this path ends with the passed in path then strip it

  22. def toResourcePath: String

    Permalink
  23. def toString(): String

    Permalink
    Definition Classes
    Any
  24. def withExtension(ext: String): File

    Permalink

    Change or Add an extension to this file

Inherited from AnyVal

Inherited from Any

Ungrouped