1 7 package com.ibm.icu.text; 8 9 14 public interface UnicodeMatcher { 15 16 23 public static final int U_MISMATCH = 0; 24 25 35 public static final int U_PARTIAL_MATCH = 1; 36 37 45 public static final int U_MATCH = 2; 46 47 54 static final char ETHER = '\uFFFF'; 55 56 99 public abstract int matches(Replaceable text, 100 int[] offset, 101 int limit, 102 boolean incremental); 103 104 114 public abstract String toPattern(boolean escapeUnprintable); 115 116 127 public abstract boolean matchesIndexValue(int v); 128 129 135 public abstract void addMatchSetTo(UnicodeSet toUnionTo); 136 } 137 138 | Popular Tags |