public class FileLoadPlugin
extends AbstractPlugin
public static java.lang.String FILE_EXT_HAPMAP
public static java.lang.String FILE_EXT_HAPMAP_GZ
public static java.lang.String FILE_EXT_HAPMAP_GZ_LIX
public static java.lang.String FILE_EXT_PLINK_MAP
public static java.lang.String FILE_EXT_PLINK_PED
public static java.lang.String FILE_EXT_SERIAL_GZ
public static java.lang.String FILE_EXT_HDF5
public static java.lang.String FILE_EXT_VCF
public static java.lang.String FILE_EXT_TOPM
public static java.lang.String FILE_EXT_TOPM_H5
public static java.lang.String FILE_EXT_TOPM_BIN
public static java.lang.String FILE_EXT_TOPM_TEXT
public static java.lang.String FILE_EXT_FASTA
public static java.lang.String FILE_EXT_PHYLIP
public static java.lang.String FILE_EXT_NEWICK
public FileLoadPlugin(java.awt.Frame parentFrame,
boolean isInteractive,
boolean headless)
Creates a new instance of FileLoadPlugin. This only used by TASSEL GUI to bypass dialog and go straight to file browser. Bypassing the dialog causes it to bypass adding to Data Tree. This constructor tells FileLoadPlugin to add it to the Data Tree Manually.
public FileLoadPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
Creates a new instance of FileLoadPlugin.
public static java.lang.Object runPlugin(java.lang.String filename)
public static DataSet runPluginDataSet(java.lang.String filename)
protected void preProcessParameters(DataSet input)
public java.lang.String[] getOpenFiles()
public void setOpenFiles(java.io.File[] openFiles)
public void setOpenFiles(java.lang.String openFile)
public void setOpenFiles(java.lang.String[] openFiles)
public net.maizegenetics.analysis.data.FileLoadPlugin.TasselFileType fileType()
Export file format (Default format depends on data being exported)
public FileLoadPlugin fileType(net.maizegenetics.analysis.data.FileLoadPlugin.TasselFileType value)
Set Format. Export file format (Default format depends on data being exported)
value - Formatpublic net.maizegenetics.analysis.data.FileLoadPlugin.TasselFileType getTheFileType()
public void setTheFileType(net.maizegenetics.analysis.data.FileLoadPlugin.TasselFileType theFileType)
public java.lang.Boolean sortPositions()
Whether to sort genotype positions if that's possible.
public FileLoadPlugin sortPositions(java.lang.Boolean value)
Set Sort Positions. Whether to sort genotype positions if that's possible.
value - Sort Positionspublic java.lang.Boolean keepDepth()
Whether to keep depth if that's possible.
public FileLoadPlugin keepDepth(java.lang.Boolean value)
Set Keep Depth. Whether to keep depth if that's possible.
value - Keep Depthpublic javax.swing.ImageIcon getIcon()
Icon for this plugin to be used in buttons, etc.
public java.lang.String getButtonName()
Button name for this plugin to be used in buttons, etc.
public java.lang.String getToolTipText()
Tool Tip Text for this plugin