001/** 002 * 003 */ 004package icy.sequence; 005 006import icy.file.SequenceFileImporter; 007 008/** 009 * Sequence importer interface.<br> 010 * Used to define a specific {@link Sequence} importer visible in the <b>Import</b> section.<br> 011 * Can take any resource type as input and return a Sequence as result. 012 * Note that you have {@link SequenceFileImporter} interface which allow to import {@link Sequence} 013 * from file(s). 014 * 015 * @author Stephane 016 */ 017 018public interface SequenceImporter 019{ 020 /** 021 * Launch the importer.<br> 022 * The importer is responsible to handle its own UI and should return a {@link Sequence} as 023 * result. 024 * 025 * @return the loaded {@link Sequence} 026 */ 027 public Sequence load() throws Exception; 028}