/**
* format a tree for input to a rest service
+ *
* @author JimP
- *
+ *
*/
-public class Tree extends InputType {
+public class Tree extends InputType
+{
public Tree()
{
- super(new Class[] { jalview.analysis.NJTree.class} );
+ super(new Class[]
+ { jalview.analysis.NJTree.class });
}
// TODO specify modifiers for tree output format
@Override
- public ContentBody formatForInput(RestJob rj) throws UnsupportedEncodingException
+ public ContentBody formatForInput(RestJob rj)
+ throws UnsupportedEncodingException
{
// TODO: implement tree inputType
- /*rj.getTreeForInput(token);
- return new StringBody(new ) */
+ /*
+ * rj.getTreeForInput(token); return new StringBody(new )
+ */
throw new Error("Tree InputType not yet implemented");
- //return null;
+ // return null;
}
+
public String getURLtokenPrefix()
{
- return "NEWICK";
+ return "NEWICK";
}
-
+
@Override
public List<String> getURLEncodedParameter()
{