ImportExportUtils

public final class ImportExportUtils

Class to export and import settings, playlistDB, etc... WARNING! Is not accessible by the user right now because there is no button or something for this yet.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public final Unit convertXMLtoJSON(File xmlFile, File jsonFile)

Converts a file from xml to json and saves it in the destination file

Link copied to clipboard
@RequiresApi(api = 26)
public final Unit exportImportFile(Path source, Path destination)
Link copied to clipboard
public final Unit exportM3UPlaylist(Path export_location, UUID playlist_id, String playlist_name)

Converts a given playlist in M3U format and exports it to a file