Class DashboardZipSerializer
- java.lang.Object
-
- org.dashbuilder.dsl.serialization.impl.DashboardZipSerializer
-
- All Implemented Interfaces:
DashboardSerializer
public class DashboardZipSerializer extends Object implements DashboardSerializer
-
-
Constructor Summary
Constructors Constructor Description DashboardZipSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dashboarddeserialize(InputStream model)Deserialize the incoming input stream into a Dashboard object Support of components and files that aren't dashboard definition may not be supported.voidserialize(Dashboard dashboard, OutputStream os)Serialize the provided dashboard and write the result in the provided output stream
-
-
-
Method Detail
-
deserialize
public Dashboard deserialize(InputStream model)
Description copied from interface:DashboardSerializerDeserialize the incoming input stream into a Dashboard object Support of components and files that aren't dashboard definition may not be supported.- Specified by:
deserializein interfaceDashboardSerializer- Returns:
-
serialize
public void serialize(Dashboard dashboard, OutputStream os)
Description copied from interface:DashboardSerializerSerialize the provided dashboard and write the result in the provided output stream- Specified by:
serializein interfaceDashboardSerializer
-
-