Searched refs:text (Results 1 - 25 of 182) sorted by relevance

12345678

/libcore/ojluni/src/main/java/java/text/
H A DStringCharacterIterator.java41 package java.text;
54 private String text; field in class:StringCharacterIterator
63 public StringCharacterIterator(String text) argument
65 this(text, 0);
71 * @param text The String to be iterated over
74 public StringCharacterIterator(String text, int pos) argument
76 this(text, 0, text.length(), pos);
83 * @param text The String to be iterated over
88 public StringCharacterIterator(String text, in argument
113 setText(String text) argument
[all...]
H A DNormalizer.java39 package java.text;
43 * text into an equivalent composed or decomposed form, allowing for easier
44 * sorting and searching of text.
67 * are searching or comparing text, you must ensure that these two sequences are
95 * text into the canonical composed and decomposed forms as shown in the first
106 * character encodings the Unicode text needs to be normalized to NFC.
130 NFD(android.icu.text.Normalizer.NFD),
135 NFC(android.icu.text.Normalizer.NFC),
140 NFKD(android.icu.text.Normalizer.NFKD),
145 NFKC(android.icu.text
[all...]
H A DCollationElementIterator.java40 package java.text;
109 public final static int NULLORDER = android.icu.text.CollationElementIterator.NULLORDER;
111 private android.icu.text.CollationElementIterator icuIterator;
113 CollationElementIterator(android.icu.text.CollationElementIterator iterator) {
170 return android.icu.text.CollationElementIterator.primaryOrder(order);
180 return (short) android.icu.text.CollationElementIterator.secondaryOrder(order);
190 return (short) android.icu.text.CollationElementIterator.tertiaryOrder(order);
194 * Returns the character offset in the original text corresponding to the next
195 * collation element. (That is, getOffset() returns the position in the text
203 * @return The character offset in the original text correspondin
[all...]
H A DIcuIteratorWrapper.java42 package java.text;
69 * iterator uses a longest-possible-match algorithm when matching text to regular
109 * before the *?.  For example, if you have "xxyxyyyxyxyxxyxyxyy" in the text,
121 * <td width="94%">Specifies where the break position should go if text matches this
126 * break position at the end of the matching text.</td>
153 * the corresponding character(s) in the text exactly.</td>
212 private android.icu.text.BreakIterator wrapped;
218 IcuIteratorWrapper(android.icu.text.BreakIterator iterator) {
230 result.wrapped = (android.icu.text.BreakIterator) wrapped.clone();
236 * rules, and iterate over the same text
320 checkOffset(int offset, CharacterIterator text) argument
[all...]
H A DParseException.java39 package java.text;
45 * @see java.text.Format
46 * @see java.text.FieldPosition
H A DBidi.java37 package java.text;
42 * A Bidi object provides information on the bidirectional reordering of the text
44 * or Hebrew text. These languages are inherently mixed directional, as they order
45 * numbers from left-to-right while ordering most other text from right-to-left.
47 * Once created, a Bidi object can be queried to see if the text it represents is
49 * this text is relatively easy to process.
51 * If there are multiple runs of text, information about the runs can be accessed
55 * 0 represents left-to-right text, while level 1 represents right-to-left text, and
56 * level 2 represents left-to-right text embedde
165 Bidi(char[] text, int textStart, byte[] embeddings, int embStart, int paragraphLength, int flags) argument
345 requiresBidi(char[] text, int start, int limit) argument
[all...]
H A DCollator.java40 package java.text;
49 * searching and sorting routines for natural language text.
131 * @see java.text.Collator#setStrength
132 * @see java.text.Collator#getStrength
142 * @see java.text.Collator#setStrength
143 * @see java.text.Collator#getStrength
152 * @see java.text.Collator#setStrength
153 * @see java.text.Collator#getStrength
176 * @see java.text.Collator#getDecomposition
177 * @see java.text
[all...]
H A DAnnotation.java26 package java.text;
29 * An Annotation object is used as a wrapper for a text attribute value if
32 * <li>The text range that the attribute is applied to is critical to the
34 * of the text range that it applies to, and, if two adjacent text ranges have
37 * <li>The attribute or its value usually do no longer apply if the underlying text is
44 * When the text is changed, the grammatical information typically becomes invalid.
49 * adjacent text runs don't get merged even if the attribute values are equal,
50 * and indicates to text containers that the attribute should be discarded if
51 * the underlying text i
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DBreakIteratorBenchmark.java20 import java.text.BreakIterator;
40 final String text; field in class:BreakIteratorBenchmark.Text
42 Text(Locale locale, String text) { argument
43 this.text = text;
48 @Param private Text text; field in class:BreakIteratorBenchmark
52 BreakIterator it = BreakIterator.getLineInstance(text.locale);
53 it.setText(text.text);
62 android.icu.text
[all...]
/libcore/ojluni/src/main/java/java/text/spi/
H A DCollatorProvider.java26 package java.text.spi;
28 import java.text.Collator;
35 * {@link java.text.Collator Collator} class.
58 * @see java.text.Collator#getInstance(java.util.Locale)
H A DDateFormatSymbolsProvider.java26 package java.text.spi;
28 import java.text.DateFormatSymbols;
35 * {@link java.text.DateFormatSymbols DateFormatSymbols} class.
59 * @see java.text.DateFormatSymbols#getInstance(java.util.Locale)
H A DDecimalFormatSymbolsProvider.java26 package java.text.spi;
28 import java.text.DecimalFormatSymbols;
35 * {@link java.text.DecimalFormatSymbols DecimalFormatSymbols} class.
59 * @see java.text.DecimalFormatSymbols#getInstance(java.util.Locale)
H A DBreakIteratorProvider.java26 package java.text.spi;
28 import java.text.BreakIterator;
35 * {@link java.text.BreakIterator BreakIterator} class.
59 * @see java.text.BreakIterator#getWordInstance(java.util.Locale)
74 * @see java.text.BreakIterator#getLineInstance(java.util.Locale)
89 * @see java.text.BreakIterator#getCharacterInstance(java.util.Locale)
104 * @see java.text.BreakIterator#getSentenceInstance(java.util.Locale)
H A DDateFormatProvider.java26 package java.text.spi;
28 import java.text.DateFormat;
35 * {@link java.text.DateFormat DateFormat} class.
52 * {@link java.text.DateFormat#SHORT DateFormat.SHORT},
53 * {@link java.text.DateFormat#MEDIUM DateFormat.MEDIUM},
54 * {@link java.text.DateFormat#LONG DateFormat.LONG}, or
55 * {@link java.text.DateFormat#FULL DateFormat.FULL}.
64 * @see java.text.DateFormat#getTimeInstance(int, java.util.Locale)
72 * {@link java.text.DateFormat#SHORT DateFormat.SHORT},
73 * {@link java.text
[all...]
H A DNumberFormatProvider.java26 package java.text.spi;
28 import java.text.NumberFormat;
35 * {@link java.text.NumberFormat NumberFormat} class.
59 * @see java.text.NumberFormat#getCurrencyInstance(java.util.Locale)
71 * java.text.NumberFormat#isParseIntegerOnly isParseIntegerOnly}).
80 * @see java.text.NumberFormat#getIntegerInstance(java.util.Locale)
95 * @see java.text.NumberFormat#getNumberInstance(java.util.Locale)
110 * @see java.text.NumberFormat#getPercentInstance(java.util.Locale)
/libcore/ojluni/src/main/java/java/util/logging/
H A DErrorManager.java90 String text = "java.util.logging.ErrorManager: " + code;
92 text = text + ": " + msg;
94 System.err.println(text);
/libcore/ojluni/src/main/java/sun/util/locale/
H A DStringTokenIterator.java34 private String text; field in class:StringTokenIterator
43 public StringTokenIterator(String text, String dlms) { argument
44 this.text = text;
78 token = text.substring(start, end);
88 return (end < text.length());
92 if (offset > text.length()) {
97 token = text.substring(start, end);
102 public StringTokenIterator setText(String text) { argument
103 this.text
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DParseExceptionTest.java17 package org.apache.harmony.tests.java.text;
19 import java.text.DateFormat;
20 import java.text.ParseException;
26 * @tests java.text.ParseException#ParseException(java.lang.String, int)
39 * @tests java.text.ParseException#getErrorOffset()
H A DCollationElementIteratorTest.java18 package org.apache.harmony.tests.java.text;
20 import java.text.CollationElementIterator;
21 import java.text.Collator;
22 import java.text.RuleBasedCollator;
23 import java.text.StringCharacterIterator;
46 String text = "abc";
47 CollationElementIterator iterator = coll.getCollationElementIterator(text);
52 while (offset != text.length()) {
60 String text = "abc";
61 CollationElementIterator iterator = coll.getCollationElementIterator(text);
[all...]
H A DMessageFormatFieldTest.java17 package org.apache.harmony.tests.java.text;
21 * @tests java.text.MessageFormat$Field#Field(java.lang.String)
28 * @tests java.text.MessageFormat$Field#readResolve()
H A DNumberFormatFieldTest.java17 package org.apache.harmony.tests.java.text;
21 * @tests java.text.NumberFormat$Field#Field(java.lang.String)
28 * @tests java.text.NumberFormat$Field#readResolve()
/libcore/luni/src/test/java/libcore/java/text/
H A DOldFormatFieldTest.java18 package libcore.java.text;
20 import java.text.Format;
H A DAttributedCharacterIteratorAttributeTest.java17 package libcore.java.text;
21 import java.text.AttributedCharacterIterator;
22 import java.text.DateFormat;
23 import java.text.NumberFormat;
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java13 import java.text.CollationKey;
16 * A concrete implementation of the abstract java.text.CollationKey.
22 private final android.icu.text.CollationKey key;
24 public CollationKeyICU(String source, android.icu.text.CollationKey key) {
31 final android.icu.text.CollationKey otherKey;
35 otherKey = new android.icu.text.CollationKey(other.getSourceString(),
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlSerializer.java9 * This interface abstracts away if serialized XML is XML 1.0 compatible text or
288 * Writes text, where special XML chars are escaped automatically
290 XmlSerializer text (String text) argument
294 * Writes text, where special XML chars are escaped automatically
296 XmlSerializer text (char [] buf, int start, int len) method in interface:XmlSerializer
299 void cdsect (String text) argument
301 void entityRef (String text) throws IOException, argument
303 void processingInstruction (String text) argument
305 void comment (String text) argument
307 docdecl(String text) argument
309 ignorableWhitespace(String text) argument
[all...]

Completed in 8392 milliseconds

12345678