Lists children directories for the specified path.
home-relative or absolute path to the file
JArray of java.io.File instances of listed directories.
Lists files in the specified directory.
path to directory to look for files in
Optional
ext: stringextension of the files to include to the output
JArray of java.io.File instances that match specified extension.
Reads high-resolution (as-is) bitmap from file.
home-relative or absolute path to the file
object of the bitmap that was read from file or null if file does not exist or is not accessible.
Reads high-resolution (as-is) bitmap from asset by it's full name.
asset name
Object of the bitmap that was read from asset or null, if asset doesn't exist.
Reads file as <key>:<value>
pairs.
home-relative or absolute path to the file
Optional
specialSeparator: stringseparator between key and value, ":" by default
Object containing <key>:<value>
pairs from file.
Writes bitmap to PNG (lossless and transparent extension) file.
home-relative or absolute path to the file
android.graphics.Bitmap to be written to the file
Writes <key>:<value>
pairs to the file.
home-relative or absolute path to the file
object to be written to the file as a set of key:value pairs
Optional
specialSeparator: stringseparator between key and value, ":" by default
Const
mntdirDefines path to mounted devices directory (e.g. /mnt).
Const
moddirDefines in-pack directory where modders alives with trailing slash (e.g. /storage/emulated/0/games/horizon/packs/Inner_Core_Test/innercore/mods/, /storage/emulated/0/Android/data/com.zheka.horizon/files/games/horizon/packs/Inner_Core_Test/innercore/mods/).
Const
rootDefines external user directory path with trailing slash (e.g. /sdcard/, /storage/emulated/0/).
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Module that provides methods to work with file system.