de.hedenus.mobilexml
Class CharBuffer
java.lang.Object
de.hedenus.mobilexml.CharBuffer
public class CharBuffer
- extends java.lang.Object
A buffer for characters.
- Author:
- Michael Hedenus
Constructor Summary |
CharBuffer(int initialCapacity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CharBuffer
public CharBuffer(int initialCapacity)
append
public CharBuffer append(java.lang.String s)
append
public CharBuffer append(char c)
reset
public void reset()
isContainsOnlyWhitespace
public boolean isContainsOnlyWhitespace()
size
public int size()
charAt
public char charAt(int i)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
parseInt
public int parseInt(int radix)
throws java.lang.NumberFormatException
- Parses the content of the buffer as int.
- Throws:
java.lang.NumberFormatException