Package org.crosswire.jsword.book

Examples of org.crosswire.jsword.book.BookData


         */


        int cardinality = key.getCardinality();
        for (int i = 0; i < cardinality; i++) {
            BookData data = new BookData(swordBook, key);
            //The following line can throw a BookException
            fullTxt = OSISUtil.getCanonicalText(data.getOsis());
            txt.add(fullTxt);
        }



View Full Code Here


        }

        try {
            for (int i = begin; i <= end; i++) {
                Verse temp = new Verse(cbBook.getSelectedIndex() + 1, cbChapter.getSelectedIndex() + 1, i);
                BookData data = new BookData(book, temp);
                String versetext = OSISUtil.getCanonicalText(data.getOsisFragment());

                // Skip blank lines (this may happen if the selected bible does not
                // contain the choosed text, it may be a New Testment only, for example)
                if (versetext.trim().length() == 0) {
                    continue;
View Full Code Here

                        localBookName = BibleInfo.getPreferredBookName(bookNum);
                    } catch (NoSuchVerseException ex) {
                        Logger.getLogger(BibleVerseListPanel.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
                BookData data = new BookData(swordBook, k);

                try {
                    //The following line can throw a BookException
                    Element xmlData = data.getOsis();
                    fullTxt = OSISUtil.getCanonicalText(xmlData);

                    if (sb.length() > 0) {
                        sb.append(splitType.getTxt());
                    }
View Full Code Here

TOP

Related Classes of org.crosswire.jsword.book.BookData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.