Home | History | Annotate | Download | only in text

Lines Matching defs:text

10 package android.icu.text;
12 import java.text.CharacterIterator;
20 * Abstract class that defines an API for iteration on text objects.This is an interface for forward and backward
21 * iteration and random access into a text object. Forward iteration is done with post-increment and backward iteration
22 * is done with pre-decrement semantics, while the <code>java.text.CharacterIterator</code> interface methods provided
25 * and code point iteration, <code>java.text.CharacterIterator</code> can only iterate over code units and is limited to
120 * Returns a <code>java.text.CharacterIterator</code> object for the underlying text of this iterator. The returned
123 * @return java.text.CharacterIterator object
167 * Returns the length of the text
169 * @return length of the text
174 * Gets the current index in text.
176 * @return current index in text.
182 * is out of range, DONE is returned, and the iterator is reset to the limit of the text.
184 * @return the next UTF16 code unit, or DONE if the index is at the limit of the text.
194 * @return the next codepoint in text, or DONE if the index is at the limit of the text.
212 * Decrement to the position of the previous code unit in the text, and return it (pre-decrement semantics). If the
215 * @return the previous code unit in the text, or DONE if the new index is before the start of the text.
220 * Retreat to the start of the previous code point in the text, and return it (pre-decrement semantics). If the
225 * @return the previous code point in the text, or DONE if the new index is before the start of the text.
242 * Sets the index to the specified index in the text.
245 * the index within the text.
266 * Fills the buffer with the underlying text storage of the iterator If the buffer capacity is not enough a
267 * exception is thrown. The capacity of the fill in buffer should at least be equal to length of text in the
271 * UChacterIterator iter = new UCharacterIterator.getInstance(text);
312 * Convenience method for returning the underlying text storage as as string
314 * @return the underlying text storage in the iterator as a string
317 char[] text = new char[getLength()];
318 getText(text);
319 return new String(text);