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