|
|||||||||
| 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.sequences.SequenceFileFormat
public class SequenceFileFormat
Title: SequenceFileFormat
Description: SequenceFileFormat
Copyright: Copyright (c) 2003
Company: Califano Lab
| Nested Class Summary | |
|---|---|
class |
SequenceFileFormat.FASTAFilter
Defines a FileFilter to be used when the user is prompted
to select Affymetrix input files. |
| Field Summary |
|---|
| Fields inherited from class org.geworkbench.components.parsers.FileFormat |
|---|
formatName |
| Constructor Summary | |
|---|---|
SequenceFileFormat()
|
|
| 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)
|
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. |
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.microarray.DataSetFileFormat |
|---|
getDataFile |
| Methods inherited from class org.geworkbench.components.parsers.FileFormat |
|---|
getFormatName, getMArraySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceFileFormat()
| 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)
throws InputFileFormatException
getDataFile in class DataSetFileFormatInputFileFormatExceptionpublic DSDataSet getDataFile(java.io.File[] files)
getDataFile in class DataSetFileFormatpublic 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 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||