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 NotebookfromJson(String json)Loads a notebook from json.StringtoJson(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:NotebookManagerRenders a notebook as json, so it can be shared, compared, stored and more !- Specified by:
toJsonin interfaceNotebookManager- Parameters:
notebook- the notebook- Returns:
- notebook as json
-
fromJson
public Notebook fromJson(String json)
Description copied from interface:NotebookManagerLoads a notebook from json.- Specified by:
fromJsonin interfaceNotebookManager- Parameters:
json- the notebook as json- Returns:
- notebook
-
-