Class LazyUTF8String

  • All Implemented Interfaces:
    java.io.Serializable

    public class LazyUTF8String
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LazyUTF8String​(java.io.DataInput in)  
      LazyUTF8String​(java.lang.String s)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBuffer()  
      java.lang.String getString()  
      java.lang.String getString​(boolean clear)  
      java.lang.String toString()  
      void writeContent​(java.io.DataOutput out)  
      • Methods inherited from class java.lang.Object

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

      • LazyUTF8String

        public LazyUTF8String​(java.io.DataInput in)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • LazyUTF8String

        public LazyUTF8String​(java.lang.String s)
    • Method Detail

      • getString

        public java.lang.String getString()
      • getString

        public java.lang.String getString​(boolean clear)
      • getBuffer

        public byte[] getBuffer()
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object