Searched defs:text (Results 1 - 25 of 104) sorted by relevance

12345

/libcore/luni/src/main/java/java/text/
H A DAnnotation.java18 package java.text;
21 * Wrapper for a text attribute value which represents an annotation. An
24 * <li>it is connected to a range of main text; if this range or the main text
26 * <li>it can not be joined with adjacent annotations even if the text attribute
30 * By wrapping text attribute values into an {@code Annotation}, these aspects
31 * will be taken into account when handling annotation text and the
32 * corresponding main text.
H A DCollationKey.java18 package java.text;
H A DParseException.java18 package java.text;
H A DCharacterIterator.java18 package java.text;
H A DNormalizer.java17 package java.text;
H A DParsePosition.java18 package java.text;
/libcore/luni/src/test/java/libcore/java/text/
H A DNormalizerTest.java17 package libcore.java.text;
19 import java.text.Normalizer;
H A DOldParsePositionTest.java17 package libcore.java.text;
19 import java.text.ParsePosition;
26 // Test for method int java.text.ParsePosition.hashCode()
37 // Test for method int java.text.ParsePosition.getErrorIndex()
H A DAttributedCharacterIteratorAttributeTest.java17 package libcore.java.text;
21 import java.text.AttributedCharacterIterator;
22 import java.text.DateFormat;
23 import java.text.NumberFormat;
H A DOldBidiTest.java18 package libcore.java.text;
20 import java.text.Bidi;
42 Bidi bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT);
50 bd = new Bidi("text", Bidi.DIRECTION_RIGHT_TO_LEFT);
57 bd = new Bidi("text", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT);
H A DOldCollationKeyTest.java17 package libcore.java.text;
19 import java.text.CollationKey;
20 import java.text.Collator;
21 import java.text.ParseException;
22 import java.text.RuleBasedCollator;
28 // Test for method byte [] java.text.CollationKey.toByteArray()
H A DOldDecimalFormatTestICU.java17 package libcore.java.text;
19 import java.text.DecimalFormat;
20 import java.text.NumberFormat;
H A DOldFormatFieldTest.java18 package libcore.java.text;
20 import java.text.Format;
H A DOldMessageFormatFieldTest.java17 package libcore.java.text;
25 import java.text.MessageFormat;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DAnnotationTest.java18 package org.apache.harmony.tests.java.text;
20 import java.text.Annotation;
41 "java.text.Annotation[value=HelloWorld]",ant.toString());
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 DSupport_Format.java18 package org.apache.harmony.tests.java.text;
20 import java.text.AttributedCharacterIterator;
21 import java.text.FieldPosition;
22 import java.text.Format;
23 import java.text.AttributedCharacterIterator.Attribute;
31 protected String text; field in class:Support_Format
38 String text, Format.Field field, int begin, int end) {
46 if (text == null) {
47 assertEquals("Test " + count + ": incorrect formatted text", this.text, buffe
37 t_FormatWithField(int count, Format format, Object object, String text, Format.Field field, int begin, int end) argument
[all...]
H A DAttributedCharacterIteratorAttributeTest.java18 package org.apache.harmony.tests.java.text;
20 import java.text.AttributedCharacterIterator;
21 import java.text.AttributedCharacterIterator.Attribute;
29 import java.text.Annotation;
34 * @tests java.text.AttributedCharacterIterator$Attribute()
46 * @tests java.text.AttributedCharacterIterator.Attribute#equals(Object)
67 * @tests java.text.AttributedCharacterIterator$Attribute#readResolve()
119 * @tests java.text.AttributedCharacterIterator$Attribute#LANGUAGE
120 * java.text.AttributedCharacterIterator$Attribute#READING
121 * java.text
[all...]
H A DCollationKeyTest.java17 package org.apache.harmony.tests.java.text;
19 import java.text.CollationKey;
20 import java.text.Collator;
21 import java.text.ParseException;
22 import java.text.RuleBasedCollator;
28 * @tests java.text.CollationKey#compareTo(java.text.CollationKey)
39 * @tests java.text.CollationKey#compareTo(java.lang.Object)
43 // java.text.CollationKey.compareTo(java.lang.Object)
52 * @tests java.text
[all...]
H A DLoadLocaleProviderTestHelper.java18 package org.apache.harmony.tests.java.text;
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 DNormalizerTest.java18 package org.apache.harmony.tests.java.text;
20 import java.text.Normalizer;
21 import java.text.Normalizer.Form;
27 * @tests java.text.Normalizer.Form#values()
39 * @tests java.text.Normalizer.Form#valueOf(String)
77 * @tests java.text.Normalizer#isNormalized(CharSequence, Form)
112 * @tests java.text.Normalizer#isNormalized(CharSequence, Form)
131 * @tests java.text.Normalizer#normalize(CharSequence, Form)
166 * @tests java.text.Normalizer#normalize(CharSequence, Form)
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()
H A DSupport_MessageFormat.java18 package org.apache.harmony.tests.java.text;
20 import java.text.DateFormat;
21 import java.text.MessageFormat;
22 import java.text.NumberFormat;
23 import java.text.MessageFormat.Field;
58 super.text = "On Feb 28, 2005 at 2:20:16 PM, he ate 8 hamburgers and drank 3.5 liters of coke. That was more than enough food!";
63 // test other format fields that are included in the formatted text
69 // test fields that are not included in the formatted text
/libcore/luni/src/main/java/java/util/regex/
H A DMatchResultImpl.java29 * Holds the original input text.
31 private String text; field in class:MatchResultImpl
34 * Holds the offsets of the groups in the input text. The first two
40 MatchResultImpl(String text, int[] offsets) { argument
41 this.text = text;
54 return text.substring(start(), end());
63 return text.substring(from, to);

Completed in 4164 milliseconds

12345