APISonar


org.apache.camel.component.salesforce.api.dto.bulk.ContentType.CSV

> org > apache > camel > component > salesforce > api > dto > bulk > ContentType > CSV
org APIs apache APIs camel APIs component APIs salesforce APIs api APIs dto APIs bulk APIs ContentType APIs CSV APIs

Example 1
public static BatchTest[] getBatches() {
        List<BatchTest> result = new ArrayList<BatchTest>();
        BatchTest test = new BatchTest();
        test.contentType = ContentType.XML;
        test.stream = BulkApiBatchIntegrationTest.class.getResourceAsStream(TEST_REQUEST_XML);
        result.add(test);

        test = new BatchTest();
        test.contentType = ContentType.CSV;
        test.stream = BulkApiBatchIntegrationTest.class.getResourceAsStream(TEST_REQUEST_CSV);
        result.add(test);

        // TODO test ZIP_XML and ZIP_CSV
        return result.toArray(new BatchTest[result.size()]);
    }