From de39259ada4f75ac987f9bd8f0674ebede75a0de Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Dec 2020 16:09:37 +0100 Subject: Starting javadoc --- jMusicHub.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'jMusicHub.java') diff --git a/jMusicHub.java b/jMusicHub.java index e79d768..363695e 100644 --- a/jMusicHub.java +++ b/jMusicHub.java @@ -2,8 +2,7 @@ import java.util.*; import java.io.*; import java.text.*; -/**

jMusicHub

- * +/** * The jMusicHub class is basically the app. * It is used to launch the whole process. * @@ -14,7 +13,7 @@ import java.text.*; public class jMusicHub { - /**

addSong

+ /** * addSong is used to add songs thanks to the "c" option * @param scan Scanner Object */ @@ -54,7 +53,7 @@ public class jMusicHub { } } -/**

addAudioBook

+/** * addAudioBook is used to add songs thanks to the "l" option * @param scan Scanner Object */ @@ -99,7 +98,7 @@ public class jMusicHub { } } -/**

addAlbum

+/** * addAlbum is used to add albums thanks to the "a" option * @param scan Scanner Object */ @@ -140,7 +139,7 @@ public class jMusicHub { } } - /**

addPlaylist

+ /** * addPlaylist is used to add playlist thanks to the "p" option * @param scan Scanner Object */ @@ -206,7 +205,7 @@ public class jMusicHub { } } -/**

save

+/** * save is used by the command "s" * It is used to serialize (save) arrays of a list into the type's file.i * Exemple : save("nameOfTheFile", elements) @@ -237,7 +236,7 @@ public class jMusicHub { } } -/**

listById

+/** * list is called when using the "AB", "S", "A" and "P" commands in order to list the elements in respective files. * @param filename String * */ @@ -401,9 +400,9 @@ public static void listAudioBooksByAuthor(){ catch (ClassNotFoundException ex) {System.out.println("ClassNotFoundException is caught");} } -/**

extract

+/** * Extract is used to print the content of the files and put them in the ArrayList used to add elements. - * @param String filename + * @param filename String * */ @SuppressWarnings("rawtypes") public static ArrayList extract(String filename){ -- cgit v1.2.3