|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Conversion
This interface describes the functionality that is offered by conversions/translations from one sequence to another. e.g. : DNA/RNA --> Pryrimidine&Purine This object oriented approach is needed to support the modularity that is needed.
Method Summary | |
---|---|
char[] |
getDifferentCharacters()
This method returns all possible different characters that occur after the conversion of a sequence. |
java.lang.String |
getName()
Returns the name of conversion. |
int |
getNumberOfDifferentCharacters()
This method returns the number of different characters present in the final representation after a conversion on a sequence has occured (excluding the 'N' character). |
java.lang.String |
getParamName()
Returns the parameter name of the conversion. |
java.lang.String |
makeConversion(java.lang.String s)
This method performs the actual conversion from one string to another. |
boolean |
setOptions(java.lang.String[] args)
This method sets the possible options for this conversion. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getParamName()
java.lang.String makeConversion(java.lang.String s)
s
- The original sequence
boolean setOptions(java.lang.String[] args)
args
- The possible options (name+value)
int getNumberOfDifferentCharacters()
char[] getDifferentCharacters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |