public class SmileFormat extends JsonJacksonFormat
(c) 2011 Neustar, Inc. All Rights Reserved.
ProtobufFormatter.ParseException
Constructor and Description |
---|
SmileFormat() |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.core.JsonGenerator |
createGenerator(OutputStream output) |
void |
merge(InputStream input,
Charset cs,
com.google.protobuf.ExtensionRegistry extensionRegistry,
com.google.protobuf.Message.Builder builder)
Parse a text-format message from
input and merge the contents into builder . |
merge, mergeField, print, print, print, printField, printMessage, printUnknownFields
getDefaultCharset, merge, merge, merge, print, print, printToString, printToString, setDefaultCharset
public void merge(InputStream input, Charset cs, com.google.protobuf.ExtensionRegistry extensionRegistry, com.google.protobuf.Message.Builder builder) throws IOException
input
and merge the contents into builder
.
Extensions will be recognized if they are registered in extensionRegistry
.merge
in class JsonJacksonFormat
IOException
protected com.fasterxml.jackson.core.JsonGenerator createGenerator(OutputStream output) throws IOException
createGenerator
in class JsonJacksonFormat
IOException
Copyright © 2018. All rights reserved.