Klasse ImportFilesResource
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractImportFilesResource<Result<TaskResponse>>
com.cloudconvert.resource.sync.ImportFilesResource
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
-
Feldübersicht
Von Klasse geerbte Felder com.cloudconvert.resource.AbstractImportFilesResource
PATH_SEGMENT_BASE64, PATH_SEGMENT_GOOGLE_CLOUD_STORAGE, PATH_SEGMENT_IMPORT, PATH_SEGMENT_OPENSTACK, PATH_SEGMENT_RAW, PATH_SEGMENT_S3, PATH_SEGMENT_SFTP, PATH_SEGMENT_UPLOAD, PATH_SEGMENT_URL, PATH_SEGMENTS_AZURE_BLOBVon Klasse geerbte Felder com.cloudconvert.resource.AbstractResource
BEARER, HEADER_AUTHORIZATION, HEADER_USER_AGENT, INPUT_STREAM_TYPE_REFERENCE, JOB_RESPONSE_PAGEABLE_TYPE_REFERENCE, JOB_RESPONSE_TYPE_REFERENCE, MAP_STRING_TO_OBJECT_TYPE_REFERENCE, OPERATION_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_TYPE_REFERENCE, USER_RESPONSE_TYPE_REFERENCE, V2, VALUE_USER_AGENT, VOID_TYPE_REFERENCE, WEBHOOKS_RESPONSE_PAGEABLE_TYPE_REFERENCE, WEBHOOKS_RESPONSE_TYPE_REFERENCE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungImportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, RequestExecutor requestExecutor, TasksResource tasksResource) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungazureBlob(@NotNull AzureBlobImportRequest azureBlobImportRequest) Create a task to import files by downloading it from a Azure blob container.base64(@NotNull Base64ImportRequest base64ImportRequest) Create a task to import a base64 filevoidclose()googleCloudStorage(@NotNull GoogleCloudStorageImportRequest googleCloudStorageImportRequest) Create a task to import files by downloading it from a Google Cloud Storage bucket.openStack(@NotNull OpenStackImportRequest openStackImportRequest) Create a task to import files by downloading it from OpenStack Object Storage (Swift).raw(@NotNull RawImportRequest rawImportRequest) Create a task to import raw files3(@NotNull S3ImportRequest s3ImportRequest) Create a task to import files by downloading it from a S3 bucket.sftp(@NotNull SftpImportRequest sftpImportRequest) Create a task to import files by downloading it from a SFTP server.upload(@NotNull UploadImportRequest uploadImportRequest) Create a task which uploads one input file.upload(@NotNull UploadImportRequest uploadImportRequest, @NotNull File file) Create a task which uploads one input file.upload(@NotNull UploadImportRequest uploadImportRequest, @NotNull InputStream inputStream) Create a task which uploads one input file.upload(@NotNull UploadImportRequest uploadImportRequest, @NotNull InputStream inputStream, @NotNull String filename) Create a task which uploads one input file.upload(@NotNull Result<TaskResponse> taskResponseResult, @NotNull File file) Create a task which uploads one input file.upload(@NotNull Result<TaskResponse> taskResponseResult, @NotNull InputStream inputStream) Create a task which uploads one input file.upload(@NotNull Result<TaskResponse> taskResponseResult, @NotNull InputStream inputStream, @NotNull String filename) Create a task which uploads one input file.upload(@NotNull String taskId, @NotNull TaskResponse.Result.Form taskResponseResultForm, @NotNull InputStream inputStream) Create a task which uploads one input file.upload(@NotNull String taskId, TaskResponse.Result.Form taskResponseResultForm, @NotNull File file) Create a task which uploads one input file.upload(@NotNull String taskId, TaskResponse.Result.Form taskResponseResultForm, @NotNull InputStream inputStream, @NotNull String filename) Create a task which uploads one input file.url(@NotNull UrlImportRequest urlImportRequest) Create a task to import one file by downloading it from an URL.Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractImportFilesResource
getAzureBlobHttpUriRequest, getBase64HttpUriRequest, getGoogleCloudHttpUriRequest, getMultipartHttpEntity, getMultipartHttpEntity, getMultipartHttpEntity, getOpenStackHttpUriRequest, getRawHttpUriRequest, getS3HttpUriRequest, getSftpHttpUriRequest, getUrlHttpUriRequestVon Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Konstruktordetails
-
ImportFilesResource
public ImportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, RequestExecutor requestExecutor, TasksResource tasksResource)
-
-
Methodendetails
-
url
public Result<TaskResponse> url(@NotNull @NotNull UrlImportRequest urlImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import one file by downloading it from an URL.- Angegeben von:
urlin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
urlImportRequest-UrlImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull UploadImportRequest uploadImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Just create upload task, do not upload file immediately
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
uploadImportRequest-UploadImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull UploadImportRequest uploadImportRequest, @NotNull @NotNull File file) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file immediately
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
uploadImportRequest-UploadImportRequestfile-Filefile which will be uploaded- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull Result<TaskResponse> taskResponseResult, @NotNull @NotNull File file) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task response data result
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskResponseResult-AbstractImportFilesResourcefile-Filefile which will be uploaded- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull String taskId, @NotNull TaskResponse.Result.Form taskResponseResultForm, @NotNull @NotNull File file) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task id and
TaskResponse.Result.Form- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskId- tasktaskResponseResultForm-TaskResponse.Result.Formfile-Filefile which will be uploaded- Gibt zurück:
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull UploadImportRequest uploadImportRequest, @NotNull @NotNull InputStream inputStream) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file immediately
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
uploadImportRequest-UploadImportRequestinputStream-InputStreamof file which will be uploaded- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull UploadImportRequest uploadImportRequest, @NotNull @NotNull InputStream inputStream, @NotNull @NotNull String filename) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file immediately
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
uploadImportRequest-UploadImportRequestinputStream-InputStreamof file which will be uploadedfilename- Set the filename, including file extension- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull Result<TaskResponse> taskResponseResult, @NotNull @NotNull InputStream inputStream) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task response data result
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskResponseResult-AbstractImportFilesResourceinputStream-InputStreamof file which will be uploaded- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull Result<TaskResponse> taskResponseResult, @NotNull @NotNull InputStream inputStream, @NotNull @NotNull String filename) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task response data result
- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskResponseResult-AbstractImportFilesResourceinputStream-InputStreamof file which will be uploadedfilename- Set the filename, including file extension- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull String taskId, @NotNull TaskResponse.Result.Form taskResponseResultForm, @NotNull @NotNull InputStream inputStream) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task id and
TaskResponse.Result.Form- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskId- tasktaskResponseResultForm-TaskResponse.Result.ForminputStream-InputStreamof file which will be uploaded- Gibt zurück:
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
upload
public Result<TaskResponse> upload(@NotNull @NotNull String taskId, @NotNull TaskResponse.Result.Form taskResponseResultForm, @NotNull @NotNull InputStream inputStream, @NotNull @NotNull String filename) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task which uploads one input file. It allows your users to directly upload input files to CloudConvert, without temporary storing them on your server.Upload file using existing task id and
TaskResponse.Result.Form- Angegeben von:
uploadin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
taskId- tasktaskResponseResultForm-TaskResponse.Result.ForminputStream-InputStreamof file which will be uploadedfilename- Set the filename, including file extension- Gibt zurück:
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
s3
public Result<TaskResponse> s3(@NotNull @NotNull S3ImportRequest s3ImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import files by downloading it from a S3 bucket.- Angegeben von:
s3in KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
s3ImportRequest-S3ImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
azureBlob
public Result<TaskResponse> azureBlob(@NotNull @NotNull AzureBlobImportRequest azureBlobImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import files by downloading it from a Azure blob container.- Angegeben von:
azureBlobin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
azureBlobImportRequest-AzureBlobImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
googleCloudStorage
public Result<TaskResponse> googleCloudStorage(@NotNull @NotNull GoogleCloudStorageImportRequest googleCloudStorageImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import files by downloading it from a Google Cloud Storage bucket.- Angegeben von:
googleCloudStoragein KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
googleCloudStorageImportRequest-GoogleCloudStorageImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
openStack
public Result<TaskResponse> openStack(@NotNull @NotNull OpenStackImportRequest openStackImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import files by downloading it from OpenStack Object Storage (Swift).- Angegeben von:
openStackin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
openStackImportRequest-OpenStackImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
sftp
public Result<TaskResponse> sftp(@NotNull @NotNull SftpImportRequest sftpImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import files by downloading it from a SFTP server.- Angegeben von:
sftpin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
sftpImportRequest-SftpImportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
base64
public Result<TaskResponse> base64(@NotNull @NotNull Base64ImportRequest base64ImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import a base64 file- Angegeben von:
base64in KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
base64ImportRequest-- Gibt zurück:
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
raw
public Result<TaskResponse> raw(@NotNull @NotNull RawImportRequest rawImportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Beschreibung aus Klasse kopiert:AbstractImportFilesResourceCreate a task to import raw file- Angegeben von:
rawin KlasseAbstractImportFilesResource<Result<TaskResponse>>- Parameter:
rawImportRequest-- Gibt zurück:
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
close
- Löst aus:
IOException
-