View Javadoc

1   package org.musicontroller.importer;
2   
3   
4   /**
5    * Defines the Music Importer.
6    * 
7    * @author drexler
8    * @version $Id: Importer.java,v 1.1 2010/03/16 18:55:43 varienaja Exp $
9    */
10  public interface Importer {
11  	/**
12  	 * Import the music described in the MusicArchiveBean into the database.
13  	 * @param bean Contains the information about the music to be imported. If this
14  	 *             is <tt>null</tt> nothing happens.
15  	 * @throws ImporterException Could not extract the archive to temporary directory.
16  	 */
17  	public void importMusic(MusicArchiveBean bean) throws ImporterException;
18  
19  }