Skip navigation links
A G I J P S T X 

A

API_URL - Static variable in class xyz.nickr.jomdb.JOMDBRequests
 

G

get(Map<String, String>) - Method in class xyz.nickr.jomdb.JavaOMDB
Queries the OMDB API with given query parameters.
getJSON(String) - Method in class xyz.nickr.jomdb.JOMDBRequests
Gets the JSON result at the given URL.
getJSON(Map<String, String>) - Method in class xyz.nickr.jomdb.JOMDBRequests
Gets the JSON result at the URL constructed with the given parameters.
getPage(int) - Method in class xyz.nickr.jomdb.model.SearchResults
Gets a page of search results (the OMDB API is paginated).
getReleaseDate() - Method in class xyz.nickr.jomdb.model.SeasonEpisodeResult
Gets the date this episode came out, as a calendar object.
getRequests() - Method in class xyz.nickr.jomdb.JavaOMDB
Gets the corresponding JOMDBRequests object.
getResult(int) - Method in class xyz.nickr.jomdb.model.SearchResultsPage
Gets a result from this page.
getURL(Map<String, String>) - Method in class xyz.nickr.jomdb.JOMDBRequests
Gets the URL to be queried given query parameters.

I

IMDB_ID_PATTERN - Static variable in class xyz.nickr.jomdb.JavaOMDB
A regular expression matching valid IMDB IDs.
iterator() - Method in class xyz.nickr.jomdb.model.SearchResults
 
iterator() - Method in class xyz.nickr.jomdb.model.SearchResultsPage
 
iterator() - Method in class xyz.nickr.jomdb.model.SeasonResult
 
iterator() - Method in class xyz.nickr.jomdb.model.TitleResult
 

J

JavaOMDB - Class in xyz.nickr.jomdb
The API entry point.
JavaOMDB() - Constructor for class xyz.nickr.jomdb.JavaOMDB
Creates an instance.
JOMDBException - Exception in xyz.nickr.jomdb
 
JOMDBException() - Constructor for exception xyz.nickr.jomdb.JOMDBException
 
JOMDBException(String) - Constructor for exception xyz.nickr.jomdb.JOMDBException
 
JOMDBException(String, Throwable) - Constructor for exception xyz.nickr.jomdb.JOMDBException
 
JOMDBException(Throwable) - Constructor for exception xyz.nickr.jomdb.JOMDBException
 
JOMDBRequests - Class in xyz.nickr.jomdb
Handles all outgoing requests to the OMDB API.
JOMDBRequests() - Constructor for class xyz.nickr.jomdb.JOMDBRequests
 
JOMDBUnavailableException - Exception in xyz.nickr.jomdb
 
JOMDBUnavailableException(Throwable) - Constructor for exception xyz.nickr.jomdb.JOMDBUnavailableException
 
JOMDBUnavailableException() - Constructor for exception xyz.nickr.jomdb.JOMDBUnavailableException
 

P

parseReleaseDate(String) - Static method in class xyz.nickr.jomdb.model.SeasonEpisodeResult
Parses a LocalDateTime from a date string in the form yyyy-MM-dd

S

search(String) - Method in class xyz.nickr.jomdb.JavaOMDB
Searches for titles with specified text.
SearchResult - Class in xyz.nickr.jomdb.model
Represents a single result of a set of search results.
SearchResult(JSONObject) - Constructor for class xyz.nickr.jomdb.model.SearchResult
 
SearchResults - Class in xyz.nickr.jomdb.model
Represents the results of a search.
SearchResults(JavaOMDB, Map<String, String>, JSONObject) - Constructor for class xyz.nickr.jomdb.model.SearchResults
 
SearchResultsPage - Class in xyz.nickr.jomdb.model
Represents a single page of search results.
SearchResultsPage(SearchResults, int, JSONObject) - Constructor for class xyz.nickr.jomdb.model.SearchResultsPage
 
seasonById(String, String) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a season by title's IMDB ID and season number.
seasonByName(String, String) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a season by title name and season number.
SeasonEpisodeResult - Class in xyz.nickr.jomdb.model
Represents an episode of a season.
SeasonEpisodeResult(JavaOMDB, JSONObject) - Constructor for class xyz.nickr.jomdb.model.SeasonEpisodeResult
 
SeasonResult - Class in xyz.nickr.jomdb.model
Represents a season of a title.
SeasonResult(JavaOMDB, JSONObject) - Constructor for class xyz.nickr.jomdb.model.SeasonResult
 
size() - Method in class xyz.nickr.jomdb.model.SearchResultsPage
Gets the amount of search results on this page.
spliterator() - Method in class xyz.nickr.jomdb.model.SearchResults
 
spliterator() - Method in class xyz.nickr.jomdb.model.SearchResultsPage
 
spliterator() - Method in class xyz.nickr.jomdb.model.SeasonResult
 
spliterator() - Method in class xyz.nickr.jomdb.model.TitleResult
 
stream() - Method in class xyz.nickr.jomdb.model.SearchResults
Gets the pages as a stream.
stream() - Method in class xyz.nickr.jomdb.model.SearchResultsPage
Gets the results on this page as a stream.
stream() - Method in class xyz.nickr.jomdb.model.SeasonResult
Gets the episodes of this season as a stream.
stream() - Method in class xyz.nickr.jomdb.model.TitleResult
Gets the seasons of this title as a stream.

T

titleById(String) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a title by its IMDB ID, with a short plot.
titleById(String, boolean) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a title by its IMDB ID, optionally with a full plot.
titleByName(String) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a title by its name, with a short plot.
titleByName(String, boolean) - Method in class xyz.nickr.jomdb.JavaOMDB
Gets a title by its name, optionally with a full plot.
TitleResult - Class in xyz.nickr.jomdb.model
Represents a title.
TitleResult(JavaOMDB, JSONObject) - Constructor for class xyz.nickr.jomdb.model.TitleResult
 

X

xyz.nickr.jomdb - package xyz.nickr.jomdb
 
xyz.nickr.jomdb.model - package xyz.nickr.jomdb.model
 
A G I J P S T X 
Skip navigation links

Copyright © 2017. All rights reserved.