Logo Search packages:      
Sourcecode: jabref-plugin-oo version File versions  Download package

List<String> net::sf::jabref::oo::OOBibBase::parseRefMarkName ( String  name  )  [inline]

Extract the list of bibtex keys from a reference mark name.

Parameters:
name The reference mark name.
Returns:
The list of bibtex keys encoded in the name.

Definition at line 750 of file OOBibBase.java.

                                                      {
        ArrayList<String> keys = new ArrayList<String>();
        Matcher m = citePattern.matcher(name);
        if (m.find()) {
            String[] keystring = m.group(2).split(",");
            for (int j = 0; j < keystring.length; j++) {
                if (!keys.contains(keystring[j]))
                    keys.add(keystring[j]);
            }
        }
        return keys;
    }


Generated by  Doxygen 1.6.0   Back to index