All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.global.api.services.FileProcessingService Maven / Gradle / Ivy

There is a newer version: 14.2.3
Show newest version
package com.global.api.services;

import com.global.api.builders.FileProcessingBuilder;
import com.global.api.entities.FileProcessor;
import com.global.api.entities.enums.FileProcessingActionType;
import com.global.api.entities.exceptions.ApiException;

public class FileProcessingService {
    public FileProcessor initiate() throws ApiException {
        return new FileProcessingBuilder(FileProcessingActionType.CREATE_UPLOAD_URL)
                .execute();
    }

    public FileProcessor getDetails(String resourceId) throws ApiException {
        return new FileProcessingBuilder(FileProcessingActionType.GET_DETAILS)
                .withResourceId(resourceId)
                .execute();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy