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

void net::sf::jabref::oo::StyleSelectDialog::addSingleFile ( File  file  )  [inline, private]

Parse a single file, and add it to the list of styles if parse was successful.

file the file to parse.

Definition at line 223 of file StyleSelectDialog.java.

References net::sf::jabref::oo::OOBibStyle::isValid().

Referenced by addStyles().

        try {
            OOBibStyle style = new OOBibStyle(file);
            // Check if the parse was successful before adding it:
            if (style.isValid() && !styles.contains(style))
        } catch (Exception e) {
            System.out.println("Unable to read style file: '"+file.getPath()+"'");

Generated by  Doxygen 1.6.0   Back to index