org.eclipse.jetty.util
Class Utf8Appendable

java.lang.Object
  extended by org.eclipse.jetty.util.Utf8Appendable
Direct Known Subclasses:
Utf8StringBuffer, Utf8StringBuilder

public abstract class Utf8Appendable
extends Object


Field Summary
protected  Appendable _appendable
           
protected  int _bits
           
protected  int _more
           
 
Constructor Summary
Utf8Appendable(Appendable appendable)
           
 
Method Summary
 void append(byte b)
           
 void append(byte[] b, int offset, int length)
           
 boolean append(byte[] b, int offset, int length, int maxChars)
           
protected  void appendByte(byte b)
           
abstract  int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_appendable

protected final Appendable _appendable

_more

protected int _more

_bits

protected int _bits
Constructor Detail

Utf8Appendable

public Utf8Appendable(Appendable appendable)
Method Detail

length

public abstract int length()

append

public void append(byte b)

append

public void append(byte[] b,
                   int offset,
                   int length)

append

public boolean append(byte[] b,
                      int offset,
                      int length,
                      int maxChars)

appendByte

protected void appendByte(byte b)
                   throws IOException
Throws:
IOException


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.