public class ReadFasta extends java.lang.Object implements InputFileManager
Modifier and Type | Field and Description |
---|---|
java.io.BufferedReader |
fasta |
Constructor and Description |
---|
ReadFasta()
A constructor that construct an object of
ReadFasta class. |
Modifier and Type | Method and Description |
---|---|
void |
bufferInputFile(java.lang.String inputFile)
This method sets up an input fasta file stream based on an input file path.
|
void |
bufferOutputFile(java.lang.String outputFile)
This method sets the full path of an output file.
|
void |
checkFile(java.lang.String cFile)
This method checks the path of an input fasta file.
|
void |
createInputFastaStream(java.lang.String inputFastaString)
This method sets up an input file stream for an input fasta file.
|
java.io.BufferedReader |
getFastaBufferedReader()
This method sets the BufferedReader.
|
public ReadFasta()
ReadFasta
class.
No constructor option needed.public void createInputFastaStream(java.lang.String inputFastaString)
inputFastaString
- full path of an input fasta file.public void checkFile(java.lang.String cFile)
cFile
- the full path of an input fasta file.public java.io.BufferedReader getFastaBufferedReader()
BufferedReader
.public void bufferInputFile(java.lang.String inputFile)
bufferInputFile
in interface FileManager
bufferInputFile
in interface InputFileManager
inputFile
- the full path of an input file.public void bufferOutputFile(java.lang.String outputFile)
bufferOutputFile
in interface FileManager
bufferOutputFile
in interface InputFileManager
outputFile
- the full path of an output file.