sparqlGraphLibrary/src/main/java/com/ge/research/semtk/edc/client/ResultsClient.java
public SimpleResultSet execStoreBinaryFile(String jobID, File file) throws Exception{

		this.parametersJSON.clear();
		this.fileParameter = file;

		this.conf.setServiceEndpoint("results/storeBinaryFile");
		this.parametersJSON.put("jobId", jobID);
		this.conf.setMethod(RestClientConfig.Methods.POST);
		try {
			JSONObject res = (JSONObject)execute(false);
			SimpleResultSet simpleRes = SimpleResultSet.fromJson(res);
			simpleRes.throwExceptionIfUnsuccessful();
			return simpleRes;
		} finally {
			this.fileParameter = null;
			this.cleanUp();
		}
	}
/**
	 * Store a file 
	 * @param file
	 * @return Successful SimpleResultSet containing fullUrl and fileId
	 * @throws Exception
	 */
Store a file
@param file
@return Successful SimpleResultSet containing fullUrl and fileId
@throws Exception
Store a file @param file @return Successful SimpleResultSet containing fullUrl and fileId @throws Exception
public SimpleResultSet execStoreBinaryFile(String jobID, File file) throws Exception{
		this.parametersJSON.clear();
		this.fileParameter = file;
		this.conf.setServiceEndpoint("results/storeBinaryFile");
		this.parametersJSON.put("jobId", jobID);
		this.conf.setMethod(RestClientConfig.Methods.POST);
		try {
			JSONObject res = (JSONObject)execute(false);
			SimpleResultSet simpleRes = SimpleResultSet.fromJson(res);
			simpleRes.throwExceptionIfUnsuccessful();
			return simpleRes;
		} finally {
			this.fileParameter = null;
			this.cleanUp();
		}
	}
public SimpleResultSet execStoreBinaryFile ( String jobID , File file ) throws Exception { this . parametersJSON . clear ( ) ; this . fileParameter = file ; this . conf . setServiceEndpoint ( "results/storeBinaryFile" ) ; this . parametersJSON . put ( "jobId" , jobID ) ; this . conf . setMethod ( RestClientConfig . Methods . POST ) ; try { JSONObject res = ( JSONObject ) execute ( false ) ; SimpleResultSet simpleRes = SimpleResultSet . fromJson ( res ) ; simpleRes . throwExceptionIfUnsuccessful ( ) ; return simpleRes ; } finally { this . fileParameter = null ; this . cleanUp ( ) ; } }
Store a file
 @param file
 @return Successful SimpleResultSet containing fullUrl and fileId
 @throws Exception
Store a file @param file @return Successful SimpleResultSet containing fullUrl and fileId @throws Exception