2655 |
22 Sep 06 |
nicklas |
1 |
/** |
2655 |
22 Sep 06 |
nicklas |
$Id$ |
2655 |
22 Sep 06 |
nicklas |
3 |
|
3675 |
16 Aug 07 |
jari |
Copyright (C) 2006 Nicklas Nordborg |
2655 |
22 Sep 06 |
nicklas |
5 |
|
2655 |
22 Sep 06 |
nicklas |
This file is part of BASE - BioArray Software Environment. |
2655 |
22 Sep 06 |
nicklas |
Available at http://base.thep.lu.se/ |
2655 |
22 Sep 06 |
nicklas |
8 |
|
2655 |
22 Sep 06 |
nicklas |
BASE is free software; you can redistribute it and/or |
2655 |
22 Sep 06 |
nicklas |
modify it under the terms of the GNU General Public License |
4479 |
05 Sep 08 |
jari |
as published by the Free Software Foundation; either version 3 |
2655 |
22 Sep 06 |
nicklas |
of the License, or (at your option) any later version. |
2655 |
22 Sep 06 |
nicklas |
13 |
|
2655 |
22 Sep 06 |
nicklas |
BASE is distributed in the hope that it will be useful, |
2655 |
22 Sep 06 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
2655 |
22 Sep 06 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2655 |
22 Sep 06 |
nicklas |
GNU General Public License for more details. |
2655 |
22 Sep 06 |
nicklas |
18 |
|
2655 |
22 Sep 06 |
nicklas |
You should have received a copy of the GNU General Public License |
4515 |
11 Sep 08 |
jari |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
2655 |
22 Sep 06 |
nicklas |
21 |
*/ |
2655 |
22 Sep 06 |
nicklas |
22 |
package net.sf.basedb.util.parser; |
2655 |
22 Sep 06 |
nicklas |
23 |
|
2655 |
22 Sep 06 |
nicklas |
24 |
import net.sf.basedb.core.plugin.Plugin; |
2655 |
22 Sep 06 |
nicklas |
25 |
|
2655 |
22 Sep 06 |
nicklas |
26 |
/** |
2655 |
22 Sep 06 |
nicklas |
This is a tagging interface for all plugins that use |
2655 |
22 Sep 06 |
nicklas |
the {@link FlatFileParser} and wants easier configuration |
2655 |
22 Sep 06 |
nicklas |
of the regular expressions used to parse the file. |
2655 |
22 Sep 06 |
nicklas |
<p> |
2655 |
22 Sep 06 |
nicklas |
The web interface checks for plugins that implements this interface |
2655 |
22 Sep 06 |
nicklas |
and create a "Test with file" button if the |
2655 |
22 Sep 06 |
nicklas |
{@link net.sf.basedb.plugins.AbstractFlatFileImporter#parserSection} parameter is present. |
2655 |
22 Sep 06 |
nicklas |
The web interface expects plugin parameters for the regular expressions as defined by the |
2655 |
22 Sep 06 |
nicklas |
{@link net.sf.basedb.plugins.AbstractFlatFileImporter} class. Parameters for |
2655 |
22 Sep 06 |
nicklas |
columns mappings must have the string "Mapping" in the parameter name. For |
2655 |
22 Sep 06 |
nicklas |
example <code>reporterIdColumnMapping</code>, <code>extendedColumnMapping.species</code> |
2655 |
22 Sep 06 |
nicklas |
and <code>propertyMapping.ch1FgMedian</code>. |
2655 |
22 Sep 06 |
nicklas |
<p> |
2655 |
22 Sep 06 |
nicklas |
All core plugins follow these directions. |
2655 |
22 Sep 06 |
nicklas |
41 |
|
2655 |
22 Sep 06 |
nicklas |
@author nicklas |
2655 |
22 Sep 06 |
nicklas |
@version 2.0 |
2655 |
22 Sep 06 |
nicklas |
@base.modified $Date$ |
2655 |
22 Sep 06 |
nicklas |
@see net.sf.basedb.plugins.ReporterFlatFileImporter |
2655 |
22 Sep 06 |
nicklas |
46 |
*/ |
2655 |
22 Sep 06 |
nicklas |
47 |
public interface ConfigureByExample |
2655 |
22 Sep 06 |
nicklas |
48 |
extends Plugin |
2655 |
22 Sep 06 |
nicklas |
49 |
{} |