- com.googlecode.protobuf.format - package com.googlecode.protobuf.format
-
- com.googlecode.protobuf.format.util - package com.googlecode.protobuf.format.util
-
- consume(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token exactly matches token
, consume it.
- consumeBoolean() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a boolean, consume it and return its value.
- consumeByteString() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a string, consume it, unescape it as a
ByteString
, and return it.
- consumeDouble() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a double, consume it and return its value.
- consumeFloat() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a float, consume it and return its value.
- consumeIdentifier() - Method in class com.googlecode.protobuf.format.CouchDBFormat.Tokenizer
-
- consumeIdentifier() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is an identifier, consume it and return its value.
- consumeInt32() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a 32-bit signed integer, consume it and return its value.
- consumeInt64() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a 64-bit signed integer, consume it and return its value.
- consumeString() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a string, consume it and return its (unescaped) value.
- consumeUInt32() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a 32-bit unsigned integer, consume it and return its value.
- consumeUInt64() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
If the next token is a 64-bit unsigned integer, consume it and return its value.
- CouchDBFormat - Class in com.googlecode.protobuf.format
-
Created by IntelliJ IDEA.
- CouchDBFormat() - Constructor for class com.googlecode.protobuf.format.CouchDBFormat
-
- CouchDBFormat.CouchDBGenerator - Class in com.googlecode.protobuf.format
-
- CouchDBFormat.Tokenizer - Class in com.googlecode.protobuf.format
-
- CouchDBGenerator(Appendable) - Constructor for class com.googlecode.protobuf.format.CouchDBFormat.CouchDBGenerator
-
- createFormatter(FormatFactory.Formatter) - Method in class com.googlecode.protobuf.format.FormatFactory
-
- createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
- createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.SmileFormat
-
- createGenerator(OutputStream) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
- currentToken() - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
- merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- merge(Readable, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.CouchDBFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.HtmlFormat
-
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
-
Parse a text-format message from input
and merge the contents
into builder
.
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(JsonParser, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
Parse a text-format message from input
and merge the contents
into builder
.
- merge(InputStream, Charset, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
Parse a text-format message from input
and merge the contents
into builder
.
- merge(InputStream, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
- merge(InputStream, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
- merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.SmileFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(CharSequence, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(InputStream, Charset, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- merge(XMLEventReader, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Parse a text-format message from input
and merge the contents into builder
.
- mergeField(JsonFormat.Tokenizer, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonFormat
-
Parse a single field from tokenizer
and merge it into builder
.
- mergeField(JsonParser, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Parse a single field from parser
and merge it into builder
.
- mergeField(XMLEventReader, XMLEvent, ExtensionRegistry, Message.Builder) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Parse a single field from parser
and merge it into builder
.
- parseBoolean(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a boolean and return its value.
- parseDouble(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
If the next token is a double and return its value.
- ParseException(String) - Constructor for exception com.googlecode.protobuf.format.JavaPropsFormat.ParseException
-
- ParseException(String) - Constructor for exception com.googlecode.protobuf.format.JsonFormat.ParseException
-
- parseException(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
- ParseException(String) - Constructor for exception com.googlecode.protobuf.format.ProtobufFormatter.ParseException
-
- parseExceptionPreviousToken(String) - Method in class com.googlecode.protobuf.format.JsonFormat.Tokenizer
-
Returns a
JsonFormat.ParseException
with the line and column numbers of the previous token
in the description, suitable for throwing.
- parseFloat(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a float and return its value.
- parseInt32(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a 32-bit signed integer from the text.
- parseInt64(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a 64-bit signed integer from the text.
- parseInteger(String, boolean, boolean) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
- parseUInt32(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a 32-bit unsigned integer from the text.
- parseUInt64(String) - Static method in class com.googlecode.protobuf.format.util.TextUtils
-
Parse a 64-bit unsigned integer from the text.
- print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.AbstractCharBasedFormatter
-
- print(CharSequence) - Method in class com.googlecode.protobuf.format.CouchDBFormat.CouchDBGenerator
-
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.CouchDBFormat
-
Outputs a textual representation of the Protocol Message supplied into the parameter output.
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.CouchDBFormat
-
Outputs a textual representation of fields
to output
.
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.HtmlFormat
-
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.HtmlFormat
-
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
-
Outputs a textual representation of the Protocol Message supplied into
the parameter output.
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
-
Outputs a textual representation of fields
to output
.
- print(CharSequence) - Method in class com.googlecode.protobuf.format.JsonFormat.JsonGenerator
-
Print text to the output stream.
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.JsonFormat
-
Outputs a textual representation of the Protocol Message supplied into the parameter output.
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.JsonFormat
-
Outputs a textual representation of fields
to output
.
- print(Message, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
-
- print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
- print(Message, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
- print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
Outputs a Smile representation of fields
to output
.
- print(Message, OutputStream) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
- print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
Outputs a textual representation of the Protocol Message supplied into
the parameter output.
- print(UnknownFieldSet, OutputStream) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
- print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
- print(Message, Appendable) - Method in class com.googlecode.protobuf.format.XmlFormat
-
Outputs a textual representation of the Protocol Message supplied into the parameter output.
- print(UnknownFieldSet, Appendable) - Method in class com.googlecode.protobuf.format.XmlFormat
-
Outputs a textual representation of fields
to output
.
- print(Message, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
- print(Message, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Outputs a Smile representation of the Protocol Message supplied into the parameter output.
- print(UnknownFieldSet, OutputStream, Charset) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
Outputs a Smile representation of fields
to output
.
- printField(Descriptors.FieldDescriptor, Object, HtmlFormat.HtmlGenerator) - Method in class com.googlecode.protobuf.format.HtmlFormat
-
- printField(Descriptors.FieldDescriptor, Object, Appendable) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
-
- printField(Descriptors.FieldDescriptor, Object, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
-
- printField(Descriptors.FieldDescriptor, Object, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
- printField(Descriptors.FieldDescriptor, Object, XmlFormat.XmlGenerator) - Method in class com.googlecode.protobuf.format.XmlFormat
-
- printField(Descriptors.FieldDescriptor, Object, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
- printFieldToString(Descriptors.FieldDescriptor, Object) - Method in class com.googlecode.protobuf.format.JavaPropsFormat
-
- printMessage(Message, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
- printMessage(Message, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
- printToString(Message) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
Like print()
, but writes directly to a String
and returns it.
- printToString(UnknownFieldSet) - Method in class com.googlecode.protobuf.format.ProtobufFormatter
-
Like print()
, but writes directly to a String
and returns it.
- printUnknownFields(UnknownFieldSet, JsonFormat.JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonFormat
-
- printUnknownFields(UnknownFieldSet, JsonGenerator) - Method in class com.googlecode.protobuf.format.JsonJacksonFormat
-
- printUnknownFields(UnknownFieldSet, XMLStreamWriter) - Method in class com.googlecode.protobuf.format.XmlJavaxFormat
-
- ProtobufFormatter - Class in com.googlecode.protobuf.format
-
- ProtobufFormatter() - Constructor for class com.googlecode.protobuf.format.ProtobufFormatter
-
- ProtobufFormatter.ParseException - Exception in com.googlecode.protobuf.format
-
Thrown when parsing an invalid text format message.