implicit final
class
LumAICommonFileWrapper extends AnyVal
Instance Constructors
-
new
LumAICommonFileWrapper(file: File)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
val
file: File
-
def
getBaseName(): String
-
def
getClass(): Class[_ <: AnyVal]
-
def
getExtension(): String
-
final
def
isInstanceOf[T0]: Boolean
-
def
listFilesByRegex(pattern: String, caseInsensitive: Boolean = false, recursive: Boolean = false): Iterable[File]
-
def
listFilesByWildcard(wildcard: String, caseInsensitive: Boolean = false, recursive: Boolean = false): Iterable[File]
-
def
listFilesByWildcards(wildcards: Seq[String], caseInsensitive: Boolean = false, recursive: Boolean = false): Iterable[File]
-
def
readByteArray(gzipSupport: Boolean = true): Array[Byte]
-
def
readString(charset: Charset = UTF_8, gzipSupport: Boolean = true): String
-
def
size: Long
-
def
sizeAsBigInt: BigInt
-
def
toInputStream: BufferedInputStream
-
def
toOutputStream: BufferedOutputStream
-
def
toString(): String
-
def
touch(): Unit
-
def
wildcardMatch(wildcard: String, caseInsensitive: Boolean = false): Boolean
-
def
writeByteArray(bytes: Array[Byte], append: Boolean = false, gzipSupport: Boolean = true): Unit
-
def
writeString(string: String, charset: Charset = UTF_8, append: Boolean = false, gzipSupport: Boolean = true): Unit
Inherited from AnyVal
Inherited from Any