public class RemoteQBlastOutputProperties extends Object implements RemotePairwiseAlignmentOutputProperties
Constructor and Description |
---|
RemoteQBlastOutputProperties()
This constructor build the parameters for the default output of the GET command sent to the QBlast service.
|
Modifier and Type | Method and Description |
---|---|
int |
getAlignmentNumber()
A method that simply returns the number of alignments fetched with this RemoteQBlastOutputProperties object.
|
String |
getAlignmentOutputFormat()
Method that returns the alignment output format for this actual RemoteQBlastOutputProperties object
|
int |
getDescriptionNumber()
A method that simply returns the number of descriptions fetched with this RemoteQBlastOutputProperties object.
|
String |
getOutputFormat()
Simply returns stream output format for the actual RemoteQBlastOutputProperties object
|
String |
getOutputOption(String o)
Method that returns any value associated to any key for this RemoteQBlastOutputProperties object.
|
Set<String> |
getOutputOptions()
Method to get all keys to the information stored in this object.
|
void |
setAlignmentNumber(int i)
A method to set the number of alignments to fetch to the GET command.
|
void |
setAlignmentOutputFormat(RemoteQBlastOutputFormat rf)
This method is use to set the alignment output format to get from the QBlast service
|
void |
setDescriptionNumber(int i)
A method to set the number of descriptions to fetch to the GET command.
|
void |
setOutputFormat(RemoteQBlastOutputFormat rf)
This method is use to set the stream output format to get from the QBlast service
|
void |
setOutputOption(String o,
String v)
Method to set the value for a specific output parameter using a key to store in a map.
|
public RemoteQBlastOutputProperties()
public String getOutputFormat()
public void setOutputFormat(RemoteQBlastOutputFormat rf) throws BioException
rf
- :an enum from RemoteQBlastOutputFormatBioException
- if the enum is neither of RemoteQBlastOutputFormat.TEXT/XML/HTMLpublic String getAlignmentOutputFormat()
public void setAlignmentOutputFormat(RemoteQBlastOutputFormat rf) throws BioException
rf
- :an enum from RemoteQBlastOutputFormatBioException
- if the enum is neither of RemoteQBlastOutputFormat.PAIRWISE/QUERY_ANCHORED/QUERY_ANCHORED_NO_IDENTITIES/FLAT_QUERY_ANCHORED
FLAT_QUERY_ANCHORED_NO_IDENTITIES/TABULARpublic int getDescriptionNumber()
public void setDescriptionNumber(int i)
i
- :an int with the required number of descriptions to fetch.public int getAlignmentNumber()
public void setAlignmentNumber(int i)
i
- :an int with the required number of alignments to fetch.public String getOutputOption(String o) throws BioException
getOutputOption
in interface RemotePairwiseAlignmentOutputProperties
o
- :a String with the required key for this map.BioException
- if key is not in the map of output options.public void setOutputOption(String o, String v)
RemotePairwiseAlignmentOutputProperties
setOutputOption
in interface RemotePairwiseAlignmentOutputProperties
o
- :the key use to designate the value to be storedv
- :the actual value matched to keypublic Set<String> getOutputOptions()
RemotePairwiseAlignmentOutputProperties
getOutputOptions
in interface RemotePairwiseAlignmentOutputProperties
Set
with all keys held in this instance of the objectCopyright © 2014 BioJava. All rights reserved.