org.apache.avro.util
Class Utf8

java.lang.Object
  extended by org.apache.avro.util.Utf8

public class Utf8
extends Object

A Utf8 string.


Constructor Summary
Utf8()
           
Utf8(String string)
           
 
Method Summary
 boolean equals(Object o)
           
 byte[] getBytes()
           
 int getLength()
           
 int hashCode()
           
 Utf8 setLength(int newLength)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Utf8

public Utf8()

Utf8

public Utf8(String string)
Method Detail

getBytes

public byte[] getBytes()

getLength

public int getLength()

setLength

public Utf8 setLength(int newLength)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009 The Apache Software Foundation