tools
2.2.3
tools
/
me.scolastico.tools.simplified
/
SimplifiedResourceFileReader
Simplified
Resource
File
Reader
open
class
SimplifiedResourceFileReader
Content copied to clipboard
Simple functions to read a byte array or a string out of a file in the resources.
Functions
Properties
Functions
get
All
Resources
In
Folder
Link copied to clipboard
open
fun
getAllResourcesInFolder
(
path
:
String
)
:
Array
<
String
>
Content copied to clipboard
Get all files recursively in a folder from the resources.
get
Byte
Array
From
Resources
Link copied to clipboard
open
fun
getByteArrayFromResources
(
path
:
String
)
:
Array
<
Byte
>
Content copied to clipboard
Get the content of a file from the resources.
get
String
From
Resources
Link copied to clipboard
open
fun
getStringFromResources
(
path
:
String
)
:
String
Content copied to clipboard
Get the content of a file from the resources.
Properties
instance
Link copied to clipboard
private
open
val
instance
:
SimplifiedResourceFileReader
Content copied to clipboard