Class JsonPersistenceRecipe
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.AbstractPersistenceRecipe
de.iip_ecosphere.platform.support.aas.basyx2.JsonPersistenceRecipe
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.PersistenceRecipe
Implements the JSON persistence recipe. Unfortunately, so far, BaSyx only supports writing non-connected AAS as far
as we can see.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.PersistenceRecipe
de.iip_ecosphere.platform.support.aas.PersistenceRecipe.FileResource -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final de.iip_ecosphere.platform.support.FileFormat -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.AbstractPersistenceRecipe
buildEnvironment, getSupportedFormats, transform, transformMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.aas.PersistenceRecipe
writeTo
-
Field Details
-
JSON
private static final de.iip_ecosphere.platform.support.FileFormat JSON
-
-
Constructor Details
-
JsonPersistenceRecipe
JsonPersistenceRecipe()Creates a JSON persistence recipe.
-
-
Method Details
-
writeTo
public void writeTo(List<de.iip_ecosphere.platform.support.aas.Aas> aas, File thumbnail, List<de.iip_ecosphere.platform.support.aas.PersistenceRecipe.FileResource> resources, File file) throws IOException - Throws:
IOException
-
readFrom
- Throws:
IOException
-