001 /* 002 * Copyright 2007, 2012 Stephen Fisher and Junhyong Kim, University of 003 * Pennsylvania. 004 * 005 * This file is part of Glo-DB. 006 * 007 * Glo-DB is free software: you can redistribute it and/or modify it 008 * under the terms of the GNU General Public License as published by 009 * the Free Software Foundation, either version 3 of the License, or 010 * (at your option) any later version. 011 * 012 * Glo-DB is distributed in the hope that it will be useful, but 013 * WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * General Public License for more details. 016 * 017 * You should have received a copy of the GNU General Public License 018 * along with Glo-DB. If not, see <http://www.gnu.org/licenses/>. 019 * 020 * @(#)SequenceLoader.java 021 */ 022 023 package edu.upenn.gloDB; 024 025 import java.util.HashMap; 026 027 /** 028 * Interface for objects that load sequence data (ie. FASTA files, URLs, 029 * SQL queries). 030 * 031 * @author Stephen Fisher 032 * @version $Id: SequenceLoader.java,v 1.1.2.5 2007/03/01 21:17:33 fisher Exp $ 033 */ 034 035 public interface SequenceLoader { 036 037 //-------------------------------------------------------------------------- 038 // Miscellaneous Methods 039 040 /** Return the Sequence data as a string. */ 041 public String getData(HashMap loaderArgs); 042 043 } // SequenceLoader.java 044 045