|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geworkbench.components.parsers.FileFormat
org.geworkbench.components.parsers.microarray.DataSetFileFormat
org.geworkbench.components.parsers.ExpressionFileFormat
public class ExpressionFileFormat
Title: Sequence and Pattern Plugin
Description:
Copyright: Copyright (c) 2003
Company:
| Field Summary |
|---|
| Fields inherited from class org.geworkbench.components.parsers.FileFormat |
|---|
formatName |
| Constructor Summary | |
|---|---|
ExpressionFileFormat()
|
|
| Method Summary | |
|---|---|
boolean |
checkFormat(java.io.File file)
Checks if the contents of the designated file conform to the format. |
DSDataSet |
getDataFile(java.io.File file)
|
DSDataSet |
getDataFile(java.io.File[] files)
getDataFile |
DSDataSet |
getDataFile(java.io.File file,
java.lang.String compatibilityLabel)
|
java.lang.String[] |
getFileExtensions()
Return the list of extensions (if any) for the files following this format. |
javax.swing.filechooser.FileFilter |
getFileFilter()
|
DSMicroarraySet |
getMArraySet(java.io.File file)
Generates and returns a MicrorarrauSet from the designated
argument. |
void |
getMArraySet(java.io.File file,
CSExprMicroarraySet maSet)
Generates and returns a MicrorarraySet from the designated
argument. |
java.util.List |
getOptions()
|
Resource |
getResource(java.io.File file)
Return a Resource object for the designated file. |
| Methods inherited from class org.geworkbench.components.parsers.FileFormat |
|---|
getFormatName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionFileFormat()
| Method Detail |
|---|
public Resource getResource(java.io.File file)
FileFormatResource object for the designated file.
getResource in class FileFormatpublic java.lang.String[] getFileExtensions()
FileFormat
getFileExtensions in class FileFormatpublic boolean checkFormat(java.io.File file)
FileFormat
checkFormat in class FileFormatfile - File to check.
public DSDataSet getDataFile(java.io.File file,
java.lang.String compatibilityLabel)
throws InputFileFormatException
getDataFile in class DataSetFileFormatInputFileFormatExceptionpublic DSMicroarraySet getMArraySet(java.io.File file)
FileFormatMicrorarrauSet from the designated
argument. In file does not conform to the format, returns
null.
getMArraySet in class FileFormatfile - The file containing the input data.
MicroarraySet object.
public void getMArraySet(java.io.File file,
CSExprMicroarraySet maSet)
FileFormatMicrorarraySet from the designated
argument. In file does not conform to the format, returns
null.
getMArraySet in class FileFormatfile - The file containing the input data.maSet - The set to load the data inpublic DSDataSet getDataFile(java.io.File file)
getDataFile in class DataSetFileFormatpublic java.util.List getOptions()
public javax.swing.filechooser.FileFilter getFileFilter()
getFileFilter in class FileFormatFileFilter to be used in gating the
files offered to the user for selection. Useful, e.g., when the
files of the format at hand have predefined extensions.public DSDataSet getDataFile(java.io.File[] files)
getDataFile in class DataSetFileFormatfiles - File[]
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||