import java.util.EnumMap;
import java.util.List;
-import org.apache.http.entity.ContentType;
-
import uk.ac.dundee.compbio.slivkaclient.Form;
import uk.ac.dundee.compbio.slivkaclient.FormValidationException;
import uk.ac.dundee.compbio.slivkaclient.JobState;
builder.append(seq.getSequence()).append("\n\n");
}
InputStream stream = new ByteArrayInputStream(builder.toString().getBytes());
- RemoteFile file = client.uploadFile(stream, "input.fasta", ContentType.create("application/fasta"));
+ RemoteFile file = client.uploadFile(stream, "input.fasta",
+ "application/fasta");
Form form = service.getForm();
form.insert("input", file);
String jobUUID = form.submit();