Class DASAlignmentClient
- java.lang.Object
-
- org.biojava.bio.program.das.dasalignment.DASAlignmentClient
-
public class DASAlignmentClient extends java.lang.ObjectA DAS client that connects to a DAS aligmnent service and returns a Biojava Alignment object.
-
-
Constructor Summary
Constructors Constructor Description DASAlignmentClient()Constructs a DASAlignmentClient object.DASAlignmentClient(java.lang.String url)Constructs a DASAlignmentClient object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alignment[]getAlignments()Returns the alignments.Alignment[]getAlignments(java.lang.String query_)Returns the alignments.java.lang.StringgetQuery()Returns the query.voidsetQuery(java.lang.String q)Specifies the query.
-
-
-
Method Detail
-
setQuery
public void setQuery(java.lang.String q)
Specifies the query.- Parameters:
q- a String specifying the query value- See Also:
getQuery()
-
getQuery
public java.lang.String getQuery()
Returns the query.- Returns:
- a String representing the query value
- See Also:
setQuery(java.lang.String)
-
getAlignments
public Alignment[] getAlignments(java.lang.String query_) throws java.io.IOException
Returns the alignments.- Parameters:
query_- a String- Returns:
- an array of Alignment objects
- Throws:
java.io.IOException- ...
-
getAlignments
public Alignment[] getAlignments() throws java.io.IOException
Returns the alignments.- Returns:
- an array of Alignment objects
- Throws:
java.io.IOException- ...
-
-