public static class HeadRules.HeadRulesSerializer extends Object implements ArtifactSerializer<HeadRules>
Constructor and Description |
---|
HeadRules.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, InvalidFormatException
ArtifactSerializer
InputStream
.
The InputStream
remains open.create
in interface ArtifactSerializer<HeadRules>
IOException
InvalidFormatException
public void serialize(HeadRules artifact, OutputStream out) throws IOException
ArtifactSerializer
OutputStream
.
The OutputStream
remains open.serialize
in interface ArtifactSerializer<HeadRules>
IOException
Copyright © 2015 The Apache Software Foundation. All rights reserved.