Flux provides system level utilities for flux applications
Slots
-
static internal Image icon(Uri uri)
convenience for images loaded out of icons
-
static internal Type[] indexForInheritance(Str base, Type? t)
Given key like "flux.resource." find all indexed prop matches for t, t.super, etc where the values are qualified type names
- loadOptionsSource
-
static Obj? loadOptions(Pod pod, Str name, Type? t)
Read an session options file into memory. An option file is a serialized object stored at "etc/{pod}/{name}.fog".
- localeSource
-
Convenience for looking up a locale prop in the
flux
pod. - logSource
-
const static Log log := Flux#.pod().log
Standard log for flux pod.
-
const static internal Pod pod := Flux#.pod
convenience
flux
pod -
static internal Type[] qnamesToTypes(Str[] qnames)
Map list of qualified type names to types
- saveOptionsSource
-
static Bool saveOptions(Pod pod, Str name, Obj options)
Save sessions options back to file. An option file is a serialized object stored at "etc/{pod}/{name}.fog". Return true on success, false on failure.