From de39259ada4f75ac987f9bd8f0674ebede75a0de Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Dec 2020 16:09:37 +0100 Subject: Starting javadoc --- javadoc/AudioBook.html | 448 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 448 insertions(+) create mode 100644 javadoc/AudioBook.html (limited to 'javadoc/AudioBook.html') diff --git a/javadoc/AudioBook.html b/javadoc/AudioBook.html new file mode 100644 index 0000000..c8ba92e --- /dev/null +++ b/javadoc/AudioBook.html @@ -0,0 +1,448 @@ + + + + + +AudioBook + + + + + + + + +
+ + + + + + + +
+ + + +
+

Class AudioBook

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class AudioBook
    +extends MusicalElement
    +
    The AudioBook class is used to create audiobooks while extending MusicalElement.
    +
    +
    See Also:
    +
    MusicalElement, +Serialized Form
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      AudioBook(java.lang.String title, + int duration, + java.lang.String content, + java.lang.String author, + Language language, + Category category) +
      Constructor method.
      +
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetAuthor() +
      This method is used to give the author of the audiobook.
      +
      java.lang.StringgetCategory() +
      This method is used to give the category of the audiobook.
      +
      java.lang.StringgetLanguage() +
      This method is used to give the language of the audiobook.
      +
      voidsetArtist(java.lang.String author) +
      Basic method to set the author of audiobook.
      +
      voidsetCategory(Category category) +
      Basic method to set the category of the audiobook using the name method from the Category class.
      +
      voidsetGenre(Language language) +
      Basic method to set the language of the audiobook using the name method from the Language object.
      +
      java.lang.StringtoString() +
      Basic method to "configure" what does a print of this object actually does.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AudioBook

        +
        public AudioBook(java.lang.String title,
        +                 int duration,
        +                 java.lang.String content,
        +                 java.lang.String author,
        +                 Language language,
        +                 Category category)
        +
        Constructor method.
        +
        +
        Parameters:
        +
        title - String
        +
        duration - int
        +
        content - String, path to the mp3 file
        +
        author - String
        +
        language - Language
        +
        category - Category
        +
        See Also:
        +
        Language, +Category
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getAuthor

        +
        public java.lang.String getAuthor()
        +
        This method is used to give the author of the audiobook.
        +
        +
        Returns:
        +
        It returns the author, which is a String
        +
        +
      • +
      + + + +
        +
      • +

        getLanguage

        +
        public java.lang.String getLanguage()
        +
        This method is used to give the language of the audiobook.
        +
        +
        Returns:
        +
        It returns the language, which is a String because the constructor use the name method of the Language object.
        +
        See Also:
        +
        Language
        +
        +
      • +
      + + + +
        +
      • +

        getCategory

        +
        public java.lang.String getCategory()
        +
        This method is used to give the category of the audiobook.
        +
        +
        Returns:
        +
        It returns the category, which is a String because the constructor use the name method of the Category object.
        +
        See Also:
        +
        Category
        +
        +
      • +
      + + + +
        +
      • +

        setArtist

        +
        public void setArtist(java.lang.String author)
        +
        Basic method to set the author of audiobook.
        +
        +
        Parameters:
        +
        author - String
        +
        +
      • +
      + + + +
        +
      • +

        setGenre

        +
        public void setGenre(Language language)
        +
        Basic method to set the language of the audiobook using the name method from the Language object.
        +
        +
        Parameters:
        +
        language - Language
        +
        See Also:
        +
        Language
        +
        +
      • +
      + + + +
        +
      • +

        setCategory

        +
        public void setCategory(Category category)
        +
        Basic method to set the category of the audiobook using the name method from the Category class.
        +
        +
        Parameters:
        +
        category - Category
        +
        +
      • +
      + + + +
        +
      • +

        toString

        +
        public java.lang.String toString()
        +
        Basic method to "configure" what does a print of this object actually does.
        +
        +
        Overrides:
        +
        toString in class java.lang.Object
        +
        Returns:
        +
        String, using the object's methods
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3