diff options
author | Clyhtsuriva <aimeric@adjutor.xyz> | 2020-12-29 00:28:01 +0100 |
---|---|---|
committer | Clyhtsuriva <aimeric@adjutor.xyz> | 2020-12-29 00:28:01 +0100 |
commit | ea75134160618549a68b37c05d491e319cce99c7 (patch) | |
tree | 2a13d5f4efef34400d99974a26f3db83d772a105 | |
parent | d9e2c4bb66e73cc83ee1e21186d851866c46dacd (diff) |
toString global update
The display of a print of each class was too ugly, just added a \n to
make it more easier to teel the difference between each element.
-rw-r--r-- | Album.java | 4 | ||||
-rw-r--r-- | AudioBook.java | 2 | ||||
-rw-r--r-- | Playlist.java | 2 | ||||
-rw-r--r-- | Song.java | 2 | ||||
-rw-r--r-- | javadoc/Album.html | 4 | ||||
-rw-r--r-- | javadoc/AudioBook.html | 4 | ||||
-rw-r--r-- | javadoc/Category.html | 4 | ||||
-rw-r--r-- | javadoc/Genre.html | 4 | ||||
-rw-r--r-- | javadoc/Language.html | 4 | ||||
-rw-r--r-- | javadoc/MusicalElement.html | 4 | ||||
-rw-r--r-- | javadoc/Playlist.html | 4 | ||||
-rw-r--r-- | javadoc/Song.html | 4 | ||||
-rw-r--r-- | javadoc/allclasses-frame.html | 4 | ||||
-rw-r--r-- | javadoc/allclasses-noframe.html | 4 | ||||
-rw-r--r-- | javadoc/constant-values.html | 4 | ||||
-rw-r--r-- | javadoc/deprecated-list.html | 4 | ||||
-rw-r--r-- | javadoc/help-doc.html | 4 | ||||
-rw-r--r-- | javadoc/index-all.html | 4 | ||||
-rw-r--r-- | javadoc/index.html | 2 | ||||
-rw-r--r-- | javadoc/jMusicHub.html | 4 | ||||
-rw-r--r-- | javadoc/overview-tree.html | 4 | ||||
-rw-r--r-- | javadoc/package-frame.html | 4 | ||||
-rw-r--r-- | javadoc/package-summary.html | 4 | ||||
-rw-r--r-- | javadoc/package-tree.html | 4 | ||||
-rw-r--r-- | javadoc/serialized-form.html | 4 |
25 files changed, 46 insertions, 46 deletions
@@ -185,7 +185,7 @@ public class Album implements Serializable { * @author Aimeric ADJUTOR * */ public String toString() { - return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nArtist : "+getArtist()+"\nDate of release : "+getDate(); -} + return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nArtist : "+getArtist()+"\nDate of release : "+getDate()+"\n"; + } } diff --git a/AudioBook.java b/AudioBook.java index a4888bf..1540e96 100644 --- a/AudioBook.java +++ b/AudioBook.java @@ -112,7 +112,7 @@ public class AudioBook extends MusicalElement { * @author Aimeric ADJUTOR * */ public String toString() { - return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nAuthor : "+getAuthor()+"\nLanguage : "+getLanguage()+"\nCategory : "+getCategory(); + return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nAuthor : "+getAuthor()+"\nLanguage : "+getLanguage()+"\nCategory : "+getCategory()+"\n"; } } diff --git a/Playlist.java b/Playlist.java index 94cfdd6..b4251d3 100644 --- a/Playlist.java +++ b/Playlist.java @@ -116,6 +116,6 @@ public class Playlist implements Serializable { * @author Aimeric ADJUTOR * */ public String toString() { - return "Id : "+getId()+"\nName : "+getName(); + return "Id : "+getId()+"\nName : "+getName()+"\n"; } } @@ -89,6 +89,6 @@ public class Song extends MusicalElement{ * @author Aimeric ADJUTOR * */ public String toString() { - return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre(); + return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre()+"\n"; } } diff --git a/javadoc/Album.html b/javadoc/Album.html index 0b51dd4..a4fc603 100644 --- a/javadoc/Album.html +++ b/javadoc/Album.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:45 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:52 CET 2020 --> <title>Album</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/AudioBook.html b/javadoc/AudioBook.html index 273279c..3949d35 100644 --- a/javadoc/AudioBook.html +++ b/javadoc/AudioBook.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:52 CET 2020 --> <title>AudioBook</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/Category.html b/javadoc/Category.html index 48f95b1..f725749 100644 --- a/javadoc/Category.html +++ b/javadoc/Category.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Category</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/Genre.html b/javadoc/Genre.html index 3865929..aa64056 100644 --- a/javadoc/Genre.html +++ b/javadoc/Genre.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Genre</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/Language.html b/javadoc/Language.html index 905a321..21212e6 100644 --- a/javadoc/Language.html +++ b/javadoc/Language.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Language</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/MusicalElement.html b/javadoc/MusicalElement.html index e1262dc..8c18112 100644 --- a/javadoc/MusicalElement.html +++ b/javadoc/MusicalElement.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>MusicalElement</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/Playlist.html b/javadoc/Playlist.html index 1bc1c8d..b65871b 100644 --- a/javadoc/Playlist.html +++ b/javadoc/Playlist.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Playlist</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/Song.html b/javadoc/Song.html index a9de438..50bc1d4 100644 --- a/javadoc/Song.html +++ b/javadoc/Song.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Song</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html index 761f06c..cda2ee3 100644 --- a/javadoc/allclasses-frame.html +++ b/javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>All Classes</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/allclasses-noframe.html b/javadoc/allclasses-noframe.html index d01c0bc..707f716 100644 --- a/javadoc/allclasses-noframe.html +++ b/javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>All Classes</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/constant-values.html b/javadoc/constant-values.html index ac69117..6677540 100644 --- a/javadoc/constant-values.html +++ b/javadoc/constant-values.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Constant Field Values</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/deprecated-list.html b/javadoc/deprecated-list.html index 76ea693..21b8d23 100644 --- a/javadoc/deprecated-list.html +++ b/javadoc/deprecated-list.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Deprecated List</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html index d5354cd..140efd6 100644 --- a/javadoc/help-doc.html +++ b/javadoc/help-doc.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>API Help</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/index-all.html b/javadoc/index-all.html index fd4fc50..7220f76 100644 --- a/javadoc/index-all.html +++ b/javadoc/index-all.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Index</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/index.html b/javadoc/index.html index cd70d45..2ce1b7e 100644 --- a/javadoc/index.html +++ b/javadoc/index.html @@ -2,7 +2,7 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Generated Documentation (Untitled)</title> <script type="text/javascript"> tmpTargetPage = "" + window.location.search; diff --git a/javadoc/jMusicHub.html b/javadoc/jMusicHub.html index cfd3b2d..9ef2f8f 100644 --- a/javadoc/jMusicHub.html +++ b/javadoc/jMusicHub.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>jMusicHub</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html index a492339..78e0225 100644 --- a/javadoc/overview-tree.html +++ b/javadoc/overview-tree.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Class Hierarchy</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/package-frame.html b/javadoc/package-frame.html index 7d6630e..adc37dc 100644 --- a/javadoc/package-frame.html +++ b/javadoc/package-frame.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title><Unnamed></title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/package-summary.html b/javadoc/package-summary.html index 203b197..88341bc 100644 --- a/javadoc/package-summary.html +++ b/javadoc/package-summary.html @@ -2,8 +2,8 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> -<meta name="date" content="2020-12-28"> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/package-tree.html b/javadoc/package-tree.html index 1c9ff75..ef2e01e 100644 --- a/javadoc/package-tree.html +++ b/javadoc/package-tree.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title> Class Hierarchy</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> diff --git a/javadoc/serialized-form.html b/javadoc/serialized-form.html index 447f7be..b086f6d 100644 --- a/javadoc/serialized-form.html +++ b/javadoc/serialized-form.html @@ -2,9 +2,9 @@ <!-- NewPage --> <html lang="fr"> <head> -<!-- Generated by javadoc (1.8.0_272) on Mon Dec 28 17:30:46 CET 2020 --> +<!-- Generated by javadoc (1.8.0_272) on Tue Dec 29 00:27:53 CET 2020 --> <title>Serialized Form</title> -<meta name="date" content="2020-12-28"> +<meta name="date" content="2020-12-29"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> |