aboutsummaryrefslogtreecommitdiff
path: root/Song.java
diff options
context:
space:
mode:
Diffstat (limited to 'Song.java')
-rw-r--r--Song.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/Song.java b/Song.java
index 6e26332..2dd07d5 100644
--- a/Song.java
+++ b/Song.java
@@ -16,32 +16,5 @@ public class Song extends MusicalElement{
public String toString() {
return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre();
-// return getTitle()+";"+getDuration()+";"+getContent()+";"+getArtist()+";"+getGenre();
}
-
-/* public static void save(){
- String filename="songs.csv";
- try
- {
- //Saving of object in a file
- FileOutputStream file = new FileOutputStream(filename);
- ObjectOutputStream out = new ObjectOutputStream(file);
-
- // Method for serialization of object
- out.writeObject(this);
-
- out.close();
- file.close();
-
- System.out.println("Object has been serialized");
-
- }
-
- catch(IOException ex)
- {
- System.out.println("IOException is caught");
- }
- }*/
-
-
}