Easy access for TheMovieDB {info.adult} property

This commit is contained in:
Reinhard Pointner 2017-07-04 10:26:10 +08:00
parent 5c7a6af77f
commit 773c5d447d
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ public class MovieInfo implements Crew, Serializable {
return get(Property.certification); // e.g. PG-13
}
public boolean isAdult() {
return get(Property.adult, Boolean::parseBoolean);
}
public String getTagline() {
return get(Property.tagline);
}