file: FileSystemService.aus

class: FileSystemService

[20:7] extends: EngineService

Wraps FXGL's FileSystemService (com.almasb.fxgl.io.FileSystemService), an EngineService that exposes file I/O wrapped in IOTask objects. Every read/write/list method returns an IOTask; call run() to execute synchronously or runAsync() to schedule on a background thread. All file names are paths relative to the application root (on desktop, the current working directory; on mobile, the private storage root). Reached at runtime via fxgl.getFileSystemService; obtain a wrapper via adopt.

Methods