Package org.jjazz.song.spi
Interface SongImporter
public interface SongImporter
An interface for objects able to import a song object from a file.
- 
Method Summary
Modifier and TypeMethodDescriptiongetId()A unique id or name for the importer.Get the list of file types which can be read by this object.Try to build a Song object from the specified file. 
- 
Method Details
- 
getId
String getId()A unique id or name for the importer.- Returns:
 
 - 
getSupportedFileTypes
List<FileNameExtensionFilter> getSupportedFileTypes()Get the list of file types which can be read by this object.- Returns:
 - Can't be empty.
 
 - 
importFromFile
Try to build a Song object from the specified file.- Parameters:
 f-- Returns:
 - Throws:
 IOExceptionSongCreationException
 
 -