public class BuildFileManifestSerializer extends Object
BuildFileManifest
to a form that can be stored and read from
disk.Modifier and Type | Method and Description |
---|---|
static BuildFileManifest |
deserialize(byte[] buildFileManifestBytes)
Deserializes an instance of
BuildFileManifest from a byte array. |
static byte[] |
serialize(BuildFileManifest buildFileManifest)
Serializes an instance of
BuildFileManifest to a byte array. |
public static byte[] serialize(BuildFileManifest buildFileManifest) throws IOException
BuildFileManifest
to a byte array.buildFileManifest
- the instance of BuildFileManifest
to be serialized.com.fasterxml.jackson.core.JsonProcessingException
IOException
public static BuildFileManifest deserialize(byte[] buildFileManifestBytes) throws IOException
BuildFileManifest
from a byte array.buildFileManifestBytes
- the bytes for the manifest to be deserialized.BuildFileManifest
serialized from the buildFileManifestBytes
.IOException