Methods Summary |
---|
public abstract java.lang.String | getAuthor(java.lang.String name)Get the author for a book with a given name.
|
public abstract int | getBookCount()Gets the number of books known to the service
|
public abstract BookInfo[] | getBookInfo()Gets information for all known books, in the form of an
array.
|
public abstract java.util.HashMap | getBookMap()Returns all of the books known to the book
service in the form of a HashMap where the
key to each entry is the book title in upper case
and the value is a BookInfo object.
|
public abstract java.lang.String | getEditor(java.lang.String name)Gets the name of the editor for a book.
|
public abstract double | getPrice(java.lang.String name)Gets the price of a book with a given name. If the given
name does not match with a known book, a BookServiceException
is thrown.
|