Class

ai.lum.common.FileUtils

FileWrapper

Related Doc: package FileUtils

Permalink

implicit final class FileWrapper extends AnyVal

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

Instance Constructors

  1. new FileWrapper(file: 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. val file: File

    Permalink
  6. def getBaseName(): String

    Permalink

    Gets the base name, minus the full path and extension.

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

    Permalink
    Definition Classes
    AnyVal → Any
  8. def getExtension(): String

    Permalink

    Gets the extension of a file.

  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def listFilesByRegex(pattern: String, caseSensitive: Boolean = true): Array[File]

    Permalink
  11. def listFilesByWildcard(wildcard: String, caseSensitive: Boolean = true): Array[File]

    Permalink
  12. def readByteArray(): Array[Byte]

    Permalink
  13. def readString(charset: Charset = UTF_8): String

    Permalink
  14. def readString(charset: String): String

    Permalink
  15. def toString(): String

    Permalink
    Definition Classes
    Any
  16. def wildcardMatch(wildcard: String, caseSensitive: Boolean = true): Boolean

    Permalink

    Checks a file to see if it matches the specified wildcard matcher allowing control over case-sensitivity.

  17. def writeByteArray(bytes: Array[Byte], off: Int, len: Int, append: Boolean = false): Unit

    Permalink
  18. def writeByteArray(bytes: Array[Byte], append: Boolean): Unit

    Permalink
  19. def writeByteArray(bytes: Array[Byte]): Unit

    Permalink
  20. def writeString(string: String, charset: Charset = UTF_8, append: Boolean = false): Unit

    Permalink
  21. def writeString(string: String, charset: Charset): Unit

    Permalink
  22. def writeString(string: String, charset: String, append: Boolean): Unit

    Permalink
  23. def writeString(string: String, charset: String): Unit

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped