* <p>Thanks to Jeff Griffin for proposing rewrite of these classes that relies less
* on exception-based mechanisms during parsing.</p>
*
- * @author srowen@google.com (Sean Owen)
+ * @author Sean Owen
*/
abstract class AbstractDoCoMoResultParser extends ResultParser {
- // This could as well be implemented with java.util.regex. It was already implemented partially
- // to run in a J2ME enviroment, where this unavailable.
-
- static String[] matchPrefixedField(String prefix, String rawText) {
- return matchPrefixedField(prefix, rawText, ';');
+ static String[] matchDoCoMoPrefixedField(String prefix, String rawText, boolean trim) {
+ return matchPrefixedField(prefix, rawText, ';', trim);
}
- static String matchSinglePrefixedField(String prefix, String rawText) {
- return matchSinglePrefixedField(prefix, rawText, ';');
+ static String matchSingleDoCoMoPrefixedField(String prefix, String rawText, boolean trim) {
+ return matchSinglePrefixedField(prefix, rawText, ';', trim);
}
-}
\ No newline at end of file
+}