Class ToStringOutputArchive

    • Constructor Summary

      Constructors 
      Constructor Description
      ToStringOutputArchive​(java.io.OutputStream out)
      Creates a new instance of ToStringOutputArchive.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endMap​(java.util.TreeMap<?,​?> v, java.lang.String tag)  
      void endRecord​(Record r, java.lang.String tag)  
      void endVector​(java.util.List<?> v, java.lang.String tag)  
      void startMap​(java.util.TreeMap<?,​?> v, java.lang.String tag)  
      void startRecord​(Record r, java.lang.String tag)  
      void startVector​(java.util.List<?> v, java.lang.String tag)  
      void writeBool​(boolean b, java.lang.String tag)  
      void writeBuffer​(byte[] buf, java.lang.String tag)  
      void writeByte​(byte b, java.lang.String tag)  
      void writeDouble​(double d, java.lang.String tag)  
      void writeFloat​(float f, java.lang.String tag)  
      void writeInt​(int i, java.lang.String tag)  
      void writeLong​(long l, java.lang.String tag)  
      void writeRecord​(Record r, java.lang.String tag)  
      void writeString​(java.lang.String s, java.lang.String tag)  
      • Methods inherited from class java.lang.Object

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

      • ToStringOutputArchive

        public ToStringOutputArchive​(java.io.OutputStream out)
                              throws java.io.UnsupportedEncodingException
        Creates a new instance of ToStringOutputArchive.
        Throws:
        java.io.UnsupportedEncodingException
    • Method Detail

      • writeByte

        public void writeByte​(byte b,
                              java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        writeByte in interface OutputArchive
        Throws:
        java.io.IOException
      • writeBool

        public void writeBool​(boolean b,
                              java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        writeBool in interface OutputArchive
        Throws:
        java.io.IOException
      • writeInt

        public void writeInt​(int i,
                             java.lang.String tag)
                      throws java.io.IOException
        Specified by:
        writeInt in interface OutputArchive
        Throws:
        java.io.IOException
      • writeLong

        public void writeLong​(long l,
                              java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        writeLong in interface OutputArchive
        Throws:
        java.io.IOException
      • writeFloat

        public void writeFloat​(float f,
                               java.lang.String tag)
                        throws java.io.IOException
        Specified by:
        writeFloat in interface OutputArchive
        Throws:
        java.io.IOException
      • writeDouble

        public void writeDouble​(double d,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        writeDouble in interface OutputArchive
        Throws:
        java.io.IOException
      • writeString

        public void writeString​(java.lang.String s,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        writeString in interface OutputArchive
        Throws:
        java.io.IOException
      • writeBuffer

        public void writeBuffer​(byte[] buf,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        writeBuffer in interface OutputArchive
        Throws:
        java.io.IOException
      • writeRecord

        public void writeRecord​(Record r,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        writeRecord in interface OutputArchive
        Throws:
        java.io.IOException
      • startRecord

        public void startRecord​(Record r,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        startRecord in interface OutputArchive
        Throws:
        java.io.IOException
      • endRecord

        public void endRecord​(Record r,
                              java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        endRecord in interface OutputArchive
        Throws:
        java.io.IOException
      • startVector

        public void startVector​(java.util.List<?> v,
                                java.lang.String tag)
                         throws java.io.IOException
        Specified by:
        startVector in interface OutputArchive
        Throws:
        java.io.IOException
      • endVector

        public void endVector​(java.util.List<?> v,
                              java.lang.String tag)
                       throws java.io.IOException
        Specified by:
        endVector in interface OutputArchive
        Throws:
        java.io.IOException
      • startMap

        public void startMap​(java.util.TreeMap<?,​?> v,
                             java.lang.String tag)
                      throws java.io.IOException
        Specified by:
        startMap in interface OutputArchive
        Throws:
        java.io.IOException
      • endMap

        public void endMap​(java.util.TreeMap<?,​?> v,
                           java.lang.String tag)
                    throws java.io.IOException
        Specified by:
        endMap in interface OutputArchive
        Throws:
        java.io.IOException