Package org.nuxeo.targetplatforms.io
Class JSONExporter
- java.lang.Object
-
- org.nuxeo.targetplatforms.io.JSONExporter
-
public class JSONExporter extends Object
JSON exporter for target platforms, packages and related info.- Since:
- 5.9.3
-
-
Constructor Summary
Constructors Constructor Description JSONExporter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static com.fasterxml.jackson.core.JsonFactory
createFactory()
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)
-
-
-
Method Detail
-
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
-
-