public HashMap < String , Object > export ( ) { HashMap < String , Object > data = new HashMap <> ( ) ; data . put ( nameDescriptor , name ) ; data . put ( artistDescriptor , artist ) ; data . put ( albumDescriptor , albumDescriptor ) ; data . put ( albumCoverDescriptor , albumCover ) ; data . put ( albumCoverFormatDescriptor , albumCoverFormatDescriptor ) ; data . put ( dataDescriptor , this . data ) ; data . put ( yearDescriptor , this . year ) ; data . put ( genreDescriptor , this . genre ) ; data . put ( durationDescriptor , this . duration ) ; data . put ( bmpDescriptor , this . bmp ) ; return data ; }
exports the TrackInfo to a Hashmap