hadith
library
Functions
-
getBook(Collections collection, int bookNumber)
→ Book
-
Takes
collection
and bookNumber
as arguments and returns a Book object.
-
getBookData(Collections collection, int bookNumber, Languages language)
→ BookData
-
Takes
collection
, bookNumber
and language
as arguments and returns a BookData object.
-
getBooks(Collections collection)
→ List<Book>
-
Takes
collection
as an argument and returns a list of Book objects.
-
getBookURL(Collections collection, int bookNumber)
→ String
-
Takes
collection
and bookNumber
as arguments and returns the URL (from sunnah.com) of that book
-
getCollection(Collections collection)
→ Collection
-
Takes
collection
as an argument and returns a Collection object.
-
getCollectionData(Collections collection, Languages language)
→ CollectionData
-
Takes
collection
and language
as arguments and returns a CollectionData object.
-
getCollections()
→ List<Collection>
-
Returns a list of all hadith collections available.
-
getCollectionURL(Collections collection)
→ String
-
Takes
collection
as argument and returns the URL (from sunnah.com) of that collection
-
getHadith(Collections collection, int bookNumber, int hadithNumber)
→ Hadith
-
Takes
collection
, bookNumber
and hadithNumber
as arguments and returns a Hadith object.
-
getHadithByNumber(Collections collection, String hadithNumber)
→ Hadith?
-
Takes
collection
and hadithNumber
as arguments and returns a Hadith object.
-
getHadithData(Collections collection, int bookNumber, int hadithNumber, Languages language)
→ HadithData
-
Takes
collection
, bookNumber
, hadithNumber
and language
as arguments and returns a HadithData object.
-
getHadithDataByNumber(Collections collection, String hadithNumber, Languages language)
→ HadithData
-
Takes
collection
, hadithNumber
and language
as arguments and returns a HadithData object.
-
getHadiths(Collections collection, int bookNumber)
→ List<Hadith>
-
Takes
collection
and bookNumber
as arguments and returns a list of Hadith objects.
-
main()
→ void
-