Package io.vertigo.studio.impl.notebook
Class NotebookManagerImpl
- java.lang.Object
-
- io.vertigo.studio.impl.notebook.NotebookManagerImpl
-
- All Implemented Interfaces:
io.vertigo.core.node.component.Component
,io.vertigo.core.node.component.CoreComponent
,io.vertigo.core.node.component.Manager
,NotebookManager
public final class NotebookManagerImpl extends Object implements NotebookManager
-
-
Constructor Summary
Constructors Constructor Description NotebookManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Notebook
fromJson(String json)
Loads a notebook from json.String
toJson(Notebook notebook)
Renders a notebook as json, so it can be shared, compared, stored and more !
-
-
-
Method Detail
-
toJson
public String toJson(Notebook notebook)
Description copied from interface:NotebookManager
Renders a notebook as json, so it can be shared, compared, stored and more !- Specified by:
toJson
in interfaceNotebookManager
- Parameters:
notebook
- the notebook- Returns:
- notebook as json
-
fromJson
public Notebook fromJson(String json)
Description copied from interface:NotebookManager
Loads a notebook from json.- Specified by:
fromJson
in interfaceNotebookManager
- Parameters:
json
- the notebook as json- Returns:
- notebook
-
-