@@ -241,5 +241,17 @@
*/
void close() throws IOException;
+
+// -- Utility methods : --------------------------------------------------------
+
+ /**
+ * Returns a tag corresponding to the specified string.
+ * The method should be implemented to convert record names supplied by clients into
+ * tags recognized by this source.
+ *
+ * @throws IllegalArgumentException if the specified string cannot be parsed.
+ */
+ RecordTag parseTag(String s);
+
// -----------------------------------------------------------------------------
}
|