sventon subversion web client - http://www.sventon.org |
[show recent changes] | |
Rev: 13916 - svn://svn.freehep.org/svn / freehep / branches / freehep-record-dev / src / main / java / org / freehep / record / source / AbstractRecordSource.java |
Unified Diff View - AbstractRecordSource.java |
/freehep/branches/freehep-record-dev/src/main/java/org/freehep/record/source/AbstractRecordSource.java @ revision 13915 |
---|
/freehep/branches/freehep-record-dev/src/main/java/org/freehep/record/source/AbstractRecordSource.java @ revision 13916 |
@@ -251,6 +251,18 @@ * Implemented to do nothing. */ public void close() throws IOException {} + + +// -- Utility methods : -------------------------------------------------------- + + /** + * Returns a tag corresponding to the specified string. + * <p> + * Implemented to return an instance of {@link DefaultRecordTag} with the specified name. + */ + public RecordTag parseTag(String s) { + return new DefaultRecordTag(s); + } // ----------------------------------------------------------------------------- |
sventon 2.5.1