Package com.infragistics.reveal.sdk.util
Class RVSerializationUtilities
- java.lang.Object
-
- com.infragistics.reveal.sdk.util.RVSerializationUtilities
-
public class RVSerializationUtilities extends Object
-
-
Constructor Summary
Constructors Constructor Description RVSerializationUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyStream(InputStream in, OutputStream out)
static Map<String,Object>
fromJsonString(String json)
static RVDashboardDocument
getDashboardDocument(InputStream rdashStream)
static RVDashboardDocument
getDashboardFromJsonString(String dashboardJson)
static RVDashboardSummary
getDashboardSummary(RVDashboardDocument dashboard)
static RVDashboardSummary
getDashboardSummary(InputStream rdashStream)
static InputStream
serializeDashboardDocument(RVDashboardDocument dashboard)
static String
toJsonString(Map<String,Object> json, boolean indented)
-
-
-
Method Detail
-
getDashboardSummary
public static RVDashboardSummary getDashboardSummary(InputStream rdashStream) throws IOException
- Throws:
IOException
-
getDashboardSummary
public static RVDashboardSummary getDashboardSummary(RVDashboardDocument dashboard)
-
getDashboardDocument
public static RVDashboardDocument getDashboardDocument(InputStream rdashStream) throws IOException
- Throws:
IOException
-
serializeDashboardDocument
public static InputStream serializeDashboardDocument(RVDashboardDocument dashboard) throws IOException
- Throws:
IOException
-
toJsonString
public static String toJsonString(Map<String,Object> json, boolean indented) throws IOException
- Throws:
IOException
-
fromJsonString
public static Map<String,Object> fromJsonString(String json) throws IOException
- Throws:
IOException
-
getDashboardFromJsonString
public static RVDashboardDocument getDashboardFromJsonString(String dashboardJson) throws IOException
- Throws:
IOException
-
copyStream
public static void copyStream(InputStream in, OutputStream out) throws IOException
- Throws:
IOException
-
-