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