State.fromFile

State fromFile(World world, LV2_URID_Map * map, Node subject, string path) static

Load state from a Turtle file.

Parameters

worldLilv world
mapURID map
subjectOptional subject URI inside the file (null = use file URI / main subject)
pathFilesystem path to the state file

Returns

New State object or null on error