public static class HeadRules.HeadRulesSerializer extends Object implements ArtifactSerializer<HeadRules>
Constructor and Description |
---|
HeadRulesSerializer() |
Modifier and Type | Method and Description |
---|---|
HeadRules |
create(InputStream in)
Creates the artifact from the provided
InputStream . |
void |
serialize(HeadRules artifact,
OutputStream out)
Serializes the artifact to the provided
OutputStream . |
public HeadRules create(InputStream in) throws IOException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<HeadRules>
IOException
public void serialize(HeadRules artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<HeadRules>
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.