Class TextFormat


  • public final class TextFormat
    extends java.lang.Object
    Provide ascii text parsing and formatting support for proto2 instances. The implementation largely follows google/protobuf/text_format.cc. HRC: I wish the original class was not package protected so we did not need to copy this file over. We need to request that the protobuf folks open this class up amoung a few others.
    Author:
    wenboz@google.com Wenbo Zhu, kenton@google.com Kenton Varda
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TextFormat.ParseException
      Thrown when parsing an invalid text format message.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextFormat()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextFormat

        public TextFormat()