1 package jalview.ws.rest.params;
3 import jalview.datamodel.AlignmentI;
4 import jalview.ws.rest.InputType;
5 import jalview.ws.rest.RestJob;
7 import java.io.UnsupportedEncodingException;
9 import org.apache.http.entity.mime.content.ContentBody;
12 * format a tree for input to a rest service
16 class Tree extends InputType {
19 super(new Class[] { jalview.analysis.NJTree.class} );
22 // TODO specify modifiers for tree output format
24 public ContentBody formatForInput(RestJob rj) throws UnsupportedEncodingException
26 // TODO: implement tree inputType
27 /*rj.getTreeForInput(token);
28 return new StringBody(new ) */
29 throw new Error("Tree InputType not yet implemented");