classnetColarUtils::FileUtils

sys::Obj
  netColarUtils::FileUtils

FileUtils

_isTextFile

static Bool _isTextFile(File? f, Int maxSize := 99000)

Try to determin is a file is text If fie size is > maxSize then wil be considered bn automatically

isTextFile

static Bool isTextFile(File? f, Int maxSize := 99000)

isTextLine

static Bool isTextLine(Str? line)

knownBinExts

const static Str[] knownBinExts := ...

knownTextExts

const static Str[] knownTextExts := ...

mkDirs

static Void mkDirs(Uri dir)

Create a directory along with whatever parent directories are needed

textChars

const static Str textChars := "\t {}[]~`!@#\$%^&*()-_=+:;\"'<>?,./"

Other common text chars that are not alpha numeric