APISonar


com.sforce.async.ContentType.CSV

> com > sforce > async > ContentType > CSV
com APIs sforce APIs async APIs ContentType APIs CSV APIs

Example 1
private JobInfo createJob(String sobjectType)
      throws AsyncApiException {
    JobInfo job = new JobInfo();
    job.setObject(sobjectType);
    job.setOperation(OperationEnum.insert);
    job.setContentType(ContentType.CSV);
    job = bulkConnection.createJob(job);
    LOG.info("Created Bulk API job {}", job.getId());
    return job;
  }