All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opensuodku.bible.tw.AbstractBible Maven / Gradle / Ivy

Go to download

Application developer can use this API to get any verse from Traditional Chinese Bible, source from http://a2z.fhl.net/CBOL.html API self contains entire Bible, no need to link remotely or access any database. Version 1.2 provides getBookCount, getChapterCount and getVerseCount.

There is a newer version: 1.2
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author mark
 */
package com.opensuodku.bible.tw;


/**
 * Focus on English and Chinese Bible
 * English Bible
 * @author mark
 */
public abstract class AbstractBible {
    

    /**
     * 
     * @param book
     * @param opt English|Chinese Full|Short
     * @return 
     */
    public abstract String getTitle(int book, TitleOption opt);
    
    /**
     * Returns entire book content
     * @param book from 1 to 66
     * @return 
     */
    public abstract String[][] getBook(int book);
    
    /**
     * Returns one chapter content 
     * @param book
     * @param chapter
     * @return 
     */
    public abstract String[] getChapter(int book, int chapter);
    /**
     * Returns one verse content
     * @param book from 1 to 66
     * @param chapter chapter number per book
     * @param verse verse number per chapter
     * @return 
     */
    public abstract String getVerse(int book, int chapter, int verse);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy