Updated on 2026-08-14
This commit is contained in:
parent
d4eb48822a
commit
f084f256b4
7 changed files with 129 additions and 122 deletions
|
|
@ -9,13 +9,9 @@ import java.io.InputStream
|
|||
*/
|
||||
interface AssetReader {
|
||||
|
||||
/** Read content of json file from asset
|
||||
* @param fileName - name of the file
|
||||
* */
|
||||
/** Read content of json file [fileName] from asset */
|
||||
fun readJson(fileName: String): String
|
||||
|
||||
/** Read content of a file [file] from asset as InputStream
|
||||
* @param file - name of the file with extension
|
||||
* */
|
||||
/** Open a file [file] from asset as InputStream */
|
||||
fun openFile(file: String): InputStream
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue