◆ load()
Definition at line 41 of file JsonVisualConstraints.java.
42 File file = Document.from(convert(visualFile)).document();
43 return CACHED.constructor(() -> {
44 JsonVisualConstraints lvc =
new JsonVisualConstraints();
46 save(visualFile, lvc);
50 JSONSerializer ser =
new JSONSerializer(
true);
51 return ser.fromJson(Document.from(f).content(), JsonVisualConstraints.class);
52 }
catch (IOException ex) {
53 WebLoggers.severe(JsonVisualConstraints.class).exception(ex).log();
56 }).
load(visualFile, file);
static JsonVisualConstraints load(String visualFile, Consumer< JsonVisualConstraints > defaults)
The documentation for this class was generated from the following file: