|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstatalign.io.input.DataReader
statalign.io.input.plugins.FastaReader
public class FastaReader
Class to read files in FASTA format.
| Constructor Summary | |
|---|---|
FastaReader()
|
|
| Method Summary | |
|---|---|
RawSequences |
read(java.io.Reader reader)
Reads the contents (aligned/non-aligned sequences) of the given data source in Fasta format. |
java.util.List<java.lang.String> |
supportedExtensions()
DataReader plugins must override this to return a list of supported file extensions. |
| Methods inherited from class statalign.io.input.DataReader |
|---|
read, read, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FastaReader()
| Method Detail |
|---|
public java.util.List<java.lang.String> supportedExtensions()
DataReader
supportedExtensions in class DataReader
public RawSequences read(java.io.Reader reader)
throws java.io.IOException
read in class DataReaderreader - Data source
java.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||