Module Mal4J

Class AnimePreview

java.lang.Object
dev.katsute.mal4j.anime.AnimePreview
All Implemented Interfaces:
ID, MediaItem<AnimeType,AnimeAirStatus,AnimeListStatus>
Direct Known Subclasses:
Anime

public abstract class AnimePreview extends Object implements MediaItem<AnimeType,AnimeAirStatus,AnimeListStatus>
Since:
1.0.0
Version:
2.12.0
Author:
Katsute
See Also:
  • Constructor Details

    • AnimePreview

      public AnimePreview()
  • Method Details

    • getEpisodes

      public abstract Integer getEpisodes()
      Returns the total amount of episodes.
      Returns:
      total episodes
      Since:
      1.0.0
    • getStartSeason

      public abstract StartSeason getStartSeason()
      Returns the start season.
      Returns:
      start season
      Since:
      1.0.0
      See Also:
    • getBroadcast

      public abstract Broadcast getBroadcast()
      Returns the broadcast time.
      Returns:
      broadcast time
      Since:
      1.0.0
      See Also:
    • getSource

      public abstract AnimeSource getSource()
      Returns the source material.
      Returns:
      source material
      Since:
      1.0.0
      See Also:
    • getRawSource

      public abstract String getRawSource()
      Returns the raw source material.
      It is recommended to use getSource() rather than this method. This method should only be used if the source value is missing from AnimeSource.
      Returns:
      raw source material
      Since:
      2.9.0
      See Also:
    • getAverageEpisodeLength

      public abstract Integer getAverageEpisodeLength()
      Returns the average episode length in seconds.
      Returns:
      episode length
      Since:
      1.0.0
    • getRating

      public abstract AnimeRating getRating()
      Returns the TV viewing rating (ex: pg13).
      Returns:
      TV viewing rating
      Since:
      1.0.0
      See Also:
    • getRawRating

      public abstract String getRawRating()
      Returns the raw rating.
      It is recommended to use getRating() rather than this method. This method should only be used if the rating value is missing from AnimeRating.
      Returns:
      raw TV viewing rating
      Since:
      2.9.0
      See Also:
    • getStudios

      public abstract Studio[] getStudios()
      Returns the studios.
      Returns:
      studios
      Since:
      1.0.0
      See Also: