public class SearchResult extends Object implements PersonSearchResult, TitleSearchResult, GeneralSearchResult
GeneralSearchResult.Poster| Constructor and Description |
|---|
SearchResult() |
| Modifier and Type | Method and Description |
|---|---|
static SearchResult |
fromJSON(String searchType,
org.json.JSONObject json) |
static GeneralSearchResult |
getGeneralFromJSON(String searchType,
org.json.JSONObject json) |
static PersonSearchResult |
getPersonFromJSON(String searchType,
org.json.JSONObject json) |
static TitleSearchResult |
getTitleFromJSON(String searchType,
org.json.JSONObject json) |
boolean |
hasPoster() |
boolean |
hasStarring() |
boolean |
hasYear() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getNamegetId, getName, getType, getYeargetId, getName, getPoster, getStarring, getType, getYearpublic boolean hasStarring()
hasStarring in interface GeneralSearchResultpublic boolean hasYear()
hasYear in interface GeneralSearchResulthasYear in interface TitleSearchResultpublic boolean hasPoster()
hasPoster in interface GeneralSearchResultpublic static SearchResult fromJSON(String searchType, org.json.JSONObject json) throws FilmfoException
FilmfoExceptionpublic static PersonSearchResult getPersonFromJSON(String searchType, org.json.JSONObject json) throws FilmfoException
FilmfoExceptionpublic static TitleSearchResult getTitleFromJSON(String searchType, org.json.JSONObject json) throws FilmfoException
FilmfoExceptionpublic static GeneralSearchResult getGeneralFromJSON(String searchType, org.json.JSONObject json) throws FilmfoException
FilmfoExceptionCopyright © 2017. All rights reserved.