Class

ai.lum.common.FileUtils

LumAICommonFileWrapper

Related Doc: package FileUtils

Permalink

implicit final class LumAICommonFileWrapper extends AnyVal

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

Instance Constructors

  1. new LumAICommonFileWrapper(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, recursive: Boolean = false): Iterator[File]

    Permalink
  11. def listFilesByWildcard(wildcard: String, caseSensitive: Boolean = true, recursive: Boolean = false): Iterator[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 size: Long

    Permalink

    Returns the size of the file (in bytes)

  16. def sizeAsBigInt: BigInt

    Permalink
  17. def toInputStream: BufferedInputStream

    Permalink

    Returns an input stream.

    Returns an input stream. Don't forget to close it!

  18. def toOutputStream: BufferedOutputStream

    Permalink

    Returns an output stream.

    Returns an output stream. Don't forget to close it!

  19. def toString(): String

    Permalink
    Definition Classes
    Any
  20. def touch(): Unit

    Permalink
  21. 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.

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

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

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

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

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

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

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

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped