Package org.nuxeo.targetplatforms.io
Class JSONExporter
java.lang.Object
org.nuxeo.targetplatforms.io.JSONExporter
JSON exporter for target platforms, packages and related info.
- Since:
- 5.9.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.fasterxml.jackson.core.JsonFactory
static void
exportInfosToJson
(List<TargetPlatformInfo> tpi, OutputStream out, boolean pretty) protected static void
exportToJson
(Object object, OutputStream out, boolean pretty) static void
exportToJson
(List<TargetPlatform> tp, OutputStream out, boolean pretty) static void
exportToJson
(TargetPackageInfo tpi, OutputStream out, boolean pretty) static void
exportToJson
(TargetPackage tp, OutputStream out, boolean pretty) static void
exportToJson
(TargetPlatformInfo tpi, OutputStream out, boolean pretty) static void
exportToJson
(TargetPlatformInstance tpi, OutputStream out, boolean pretty) static void
exportToJson
(TargetPlatform tp, OutputStream out, boolean pretty)
-
Constructor Details
-
JSONExporter
public JSONExporter()
-
-
Method Details
-
exportToJson
public static void exportToJson(TargetPlatform tp, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportToJson
public static void exportToJson(List<TargetPlatform> tp, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportToJson
public static void exportToJson(TargetPlatformInfo tpi, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportInfosToJson
public static void exportInfosToJson(List<TargetPlatformInfo> tpi, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportToJson
public static void exportToJson(TargetPlatformInstance tpi, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportToJson
public static void exportToJson(TargetPackage tp, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
exportToJson
public static void exportToJson(TargetPackageInfo tpi, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-
createFactory
protected static com.fasterxml.jackson.core.JsonFactory createFactory() -
exportToJson
protected static void exportToJson(Object object, OutputStream out, boolean pretty) throws IOException - Throws:
IOException
-