Klasse AbstractTasksResource<TRAR extends AbstractResult<TaskResponse>,TRPAR extends AbstractResult<Pageable<TaskResponse>>,VAR extends AbstractResult<Void>,ORPAR extends AbstractResult<Pageable<OperationResponse>>>
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractTasksResource<TRAR,TRPAR,VAR,ORPAR>
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
- Bekannte direkte Unterklassen:
AsyncTasksResource,TasksResource
public abstract class AbstractTasksResource<TRAR extends AbstractResult<TaskResponse>,TRPAR extends AbstractResult<Pageable<TaskResponse>>,VAR extends AbstractResult<Void>,ORPAR extends AbstractResult<Pageable<OperationResponse>>>
extends AbstractResource
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringVon 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
KonstruktorenKonstruktorBeschreibungAbstractTasksResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, AbstractConvertFilesResource<TRAR, ORPAR> abstractConvertFilesResource, AbstractOptimizeFilesResource<TRAR> abstractOptimizeFilesResource, AbstractCaptureWebsitesResource<TRAR> abstractCaptureWebsitesResource, AbstractMergeFilesResource<TRAR> abstractMergeFilesResource, AbstractCreateArchivesResource<TRAR> abstractCreateArchivesResource, AbstractExecuteCommandsResource<TRAR> abstractExecuteCommandsResource, AbstractCreateThumbnailsResource<TRAR> abstractCreateThumbnailsResource, AbstractGetMetadataResource<TRAR> abstractGetMetadataResourceResource, AbstractWriteMetadataResource<TRAR> abstractWriteMetadataResourceResource, AbstractAddWatermarkResource<TRAR> abstractAddWatermarkResource) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract TRARarchive(@NotNull CreateArchivesTaskRequest createArchivesTaskRequest) Create a task to create a ZIP, RAR, 7Z, TAR, TAR.GZ or TAR.BZ2 archive.abstract TRARCancel a task that is in status waiting or processing.abstract TRARcapture(@NotNull CaptureWebsitesTaskRequest captureWebsitesTaskRequest) Create a task to convert a website to PDF or to capture a screenshot of a website (png, jpg).voidclose()abstract TRARcommand(@NotNull ExecuteCommandsTaskRequest executeCommandsTaskRequest) Create a task to execute a command.abstract TRARconvert(@NotNull ConvertFilesTaskRequest convertFilesTaskRequest) Create a task to convert one input file from input_format to output_format.abstract ORPARList all supported formats, their engines and possible options.abstract ORPARconvertFormats(@NotNull Map<Filter, String> filters) List all supported formats, their engines and possible options.abstract ORPARList all supported formats, their engines and possible options.abstract ORPARconvertFormats(@NotNull Map<Filter, String> filters, @NotNull List<Include> includes, @Nullable Boolean alternative) List all supported formats, their engines and possible options.abstract VARDelete a task, including all data.protected org.apache.http.client.methods.HttpUriRequestgetCancelHttpUriRequest(@NotNull String taskId) protected org.apache.http.client.methods.HttpUriRequestgetDeleteHttpUriRequest(@NotNull String taskId) protected org.apache.http.client.methods.HttpUriRequestgetListHttpUriRequest(@NotNull Map<Filter, String> filters, @NotNull List<Include> includes, @Nullable Pagination pagination) protected org.apache.http.client.methods.HttpUriRequestgetOperationsHttpUriRequest(@NotNull Map<Filter, String> filters, @NotNull List<Include> includes, @Nullable Boolean alternative) protected org.apache.http.client.methods.HttpUriRequestgetRetryHttpUriRequest(@NotNull String taskId) protected org.apache.http.client.methods.HttpUriRequestgetShowHttpUriRequest(@NotNull String taskId, @NotNull List<Include> includes) protected org.apache.http.client.methods.HttpUriRequestgetWaitHttpUriRequest(@NotNull String taskId) abstract TRPARlist()List all tasks with their status, payload and result.abstract TRPARList all tasks with their status, payload and result.abstract TRPARList all tasks with their status, payload and result.abstract TRPARlist(@NotNull Map<Filter, String> filters, @NotNull List<Include> includes, @Nullable Pagination pagination) List all tasks with their status, payload and result.abstract TRARmerge(@NotNull MergeFilesTaskRequest mergeFilesTaskRequest) Create a task to merge at least two files to one PDF.abstract TRARmetadata(@NotNull GetMetadataTaskRequest getMetadataTaskRequest) Create a task to extract metadata from one file.abstract ORPARList all possible operations, formats, engines and possible options.abstract ORPARoperations(@NotNull Map<Filter, String> filters) List all possible operations, formats, engines and possible options.abstract ORPARList all possible operations, formats, engines and possible options.abstract ORPARoperations(@NotNull Map<Filter, String> filters, @NotNull List<Include> includes, @Nullable Boolean alternative) List all possible operations, formats, engines and possible options.abstract TRARoptimize(@NotNull OptimizeFilesTaskRequest optimizeFilesTaskRequest) Create a task to optimize and compress a file.abstract TRARCreate a new task, based on the payload of another task.abstract TRARShow a task.abstract TRARShow a task.abstract TRARthumbnail(@NotNull CreateThumbnailsTaskRequest createThumbnailsTaskRequest) Create a task to create a thumbnail of one file.abstract TRARWait until the task status is finished or error.abstract TRARwatermark(@NotNull AddWatermarkTaskRequest addWatermarkTaskRequest) Create a task to add a watermark to a file.abstract TRARwriteMetadata(@NotNull WriteMetadataTaskRequest writeMetadataTaskRequest) Create a task to write file metadata.Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Felddetails
-
PATH_SEGMENT_TASKS
- Siehe auch:
-
PATH_SEGMENT_OPERATIONS
- Siehe auch:
-
PATH_SEGMENT_WAIT
- Siehe auch:
-
PATH_SEGMENT_CANCEL
- Siehe auch:
-
PATH_SEGMENT_RETRY
- Siehe auch:
-
-
Konstruktordetails
-
AbstractTasksResource
public AbstractTasksResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider, AbstractConvertFilesResource<TRAR, ORPAR> abstractConvertFilesResource, AbstractOptimizeFilesResource<TRAR> abstractOptimizeFilesResource, AbstractCaptureWebsitesResource<TRAR> abstractCaptureWebsitesResource, AbstractMergeFilesResource<TRAR> abstractMergeFilesResource, AbstractCreateArchivesResource<TRAR> abstractCreateArchivesResource, AbstractExecuteCommandsResource<TRAR> abstractExecuteCommandsResource, AbstractCreateThumbnailsResource<TRAR> abstractCreateThumbnailsResource, AbstractGetMetadataResource<TRAR> abstractGetMetadataResourceResource, AbstractWriteMetadataResource<TRAR> abstractWriteMetadataResourceResource, AbstractAddWatermarkResource<TRAR> abstractAddWatermarkResource)
-
-
Methodendetails
-
show
public abstract TRAR show(@NotNull @NotNull String taskId) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Show a task. Requires the task.read scope.- Parameter:
taskId- task id- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
show
public abstract TRAR show(@NotNull @NotNull String taskId, @NotNull @NotNull List<Include> includes) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Show a task. Requires the task.read scope.- Parameter:
taskId- task idincludes- (optional) Include retries, depends_on_tasks, payload and/or job in the result. Multiple include values are separated by , (comma).- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getShowHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getShowHttpUriRequest(@NotNull @NotNull String taskId, @NotNull @NotNull List<Include> includes) throws URISyntaxException - Löst aus:
URISyntaxException
-
wait
public abstract TRAR wait(@NotNull @NotNull String taskId) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Wait until the task status is finished or error. This makes the request block until the task has been completed. Requires the task.read scope.We do not recommend using this for long running jobs (e.g. video encodings). Your system might automatically time out requests if there is not data transferred for a longer time.
In general, please avoid to block your application until a CloudConvert job completes. There might be cases in which we need to queue your task which results in longer processing times than usual. Using an asynchronous approach with webhooks is beneficial in such cases.
- Parameter:
taskId- task id- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getWaitHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getWaitHttpUriRequest(@NotNull @NotNull String taskId) throws URISyntaxException - Löst aus:
URISyntaxException
-
list
public abstract TRPAR list() throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all tasks with their status, payload and result. Requires the task.read scope.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
list
public abstract TRPAR list(@NotNull @NotNull Map<Filter, String> filters) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all tasks with their status, payload and result. Requires the task.read scope.- Parameter:
filters- (optional) Filters: - job_id - The result will be filtered to include only tasks for a specific Job ID. - status - The result will be filtered to include only tasks with a specific status (waiting, processing, finished or error). - operation - Filter result to only include tasks of with a matching operation (for example convert or import/s3).- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
list
public abstract TRPAR list(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all tasks with their status, payload and result. Requires the task.read scope.- Parameter:
filters- (optional) Filters: - job_id - The result will be filtered to include only tasks for a specific Job ID. - status - The result will be filtered to include only tasks with a specific status (waiting, processing, finished or error). - operation - Filter result to only include tasks of with a matching operation (for example convert or import/s3).includes- (optional) Include retries and/or depends_on_tasks in the result.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
list
public abstract TRPAR list(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes, @Nullable @Nullable Pagination pagination) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all tasks with their status, payload and result. Requires the task.read scope.- Parameter:
filters- (optional) Filters: - job_id - The result will be filtered to include only tasks for a specific Job ID. - status - The result will be filtered to include only tasks with a specific status (waiting, processing, finished or error). - operation - Filter result to only include tasks of with a matching operation (for example convert or import/s3).includes- (optional) Include retries and/or depends_on_tasks in the result.pagination- (optional) Pagination: - per_page - Number of tasks per page, defaults to 100. - page - The result page to show.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getListHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getListHttpUriRequest(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes, @Nullable @Nullable Pagination pagination) throws URISyntaxException- Löst aus:
URISyntaxException
-
cancel
public abstract TRAR cancel(@NotNull @NotNull String taskId) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Cancel a task that is in status waiting or processing. Requires the task.write scope.- Parameter:
taskId- task id- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getCancelHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getCancelHttpUriRequest(@NotNull @NotNull String taskId) throws URISyntaxException - Löst aus:
URISyntaxException
-
retry
public abstract TRAR retry(@NotNull @NotNull String taskId) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a new task, based on the payload of another task. Requires the task.write scope.- Parameter:
taskId- task id- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getRetryHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getRetryHttpUriRequest(@NotNull @NotNull String taskId) throws URISyntaxException - Löst aus:
URISyntaxException
-
delete
public abstract VAR delete(@NotNull @NotNull String taskId) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Delete a task, including all data. Requires the task.write scope. Tasks are deleted automatically 24 hours after they have ended.- Parameter:
taskId- task id- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getDeleteHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getDeleteHttpUriRequest(@NotNull @NotNull String taskId) throws URISyntaxException - Löst aus:
URISyntaxException
-
operations
public abstract ORPAR operations() throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all possible operations, formats, engines and possible options.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
operations
public abstract ORPAR operations(@NotNull @NotNull Map<Filter, String> filters) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all possible operations, formats, engines and possible options.- Parameter:
filters- (optional) Filters: - operation - The result will be filtered to include only possible operations with a matching operation name (e.g. convert or optimize). - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
operations
public abstract ORPAR operations(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all possible operations, formats, engines and possible options.- Parameter:
filters- (optional) Filters: - operation - The result will be filtered to include only possible operations with a matching operation name (e.g. convert or optimize). - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.includes- (optional) Include options and/or engine_versions in the result.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
operations
public abstract ORPAR operations(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes, @Nullable @Nullable Boolean alternative) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all possible operations, formats, engines and possible options.- Parameter:
filters- (optional) Filters: - operation - The result will be filtered to include only possible operations with a matching operation name (e.g. convert or optimize). - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.includes- (optional) Include options and/or engine_versions in the result.alternative- (optional) For some formats multiple alternative engines are available. If set to true, the result includes these alternative conversion types. Default to false.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getOperationsHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getOperationsHttpUriRequest(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes, @Nullable @Nullable Boolean alternative) throws URISyntaxException- Löst aus:
URISyntaxException
-
convert
public abstract TRAR convert(@NotNull @NotNull ConvertFilesTaskRequest convertFilesTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to convert one input file from input_format to output_format. Requires the task.write scope.- Parameter:
convertFilesTaskRequest-ConvertFilesTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
convertFormats
public abstract ORPAR convertFormats() throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all supported formats, their engines and possible options.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
convertFormats
public abstract ORPAR convertFormats(@NotNull @NotNull Map<Filter, String> filters) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all supported formats, their engines and possible options.- Parameter:
filters- (optional) Filters: - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
convertFormats
public abstract ORPAR convertFormats(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all supported formats, their engines and possible options.- Parameter:
filters- (optional) Filters: - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.includes- (optional) Include options and/or engine_versions in the result.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
convertFormats
public abstract ORPAR convertFormats(@NotNull @NotNull Map<Filter, String> filters, @NotNull @NotNull List<Include> includes, @Nullable @Nullable Boolean alternative) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerExceptionList all supported formats, their engines and possible options.- Parameter:
filters- (optional) Filters: - input_format - The result will be filtered to include only possible conversions with a matching input format. - output_format - The result will be filtered to include only possible conversions with a matching output format. - engine - Filter result to only include conversions with a matching engine name. - engine_version - Filter result to only include conversions with a matching engine version.includes- (optional) Include options and/or engine_versions in the result.alternative- (optional) For some formats multiple alternative engines are available. If set to true, the result includes these alternative conversion types. Default to false.- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
optimize
public abstract TRAR optimize(@NotNull @NotNull OptimizeFilesTaskRequest optimizeFilesTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to optimize and compress a file. Currently supported formats are PDF, PNG and JPG.- Parameter:
optimizeFilesTaskRequest-OptimizeFilesTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
capture
public abstract TRAR capture(@NotNull @NotNull CaptureWebsitesTaskRequest captureWebsitesTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to convert a website to PDF or to capture a screenshot of a website (png, jpg).- Parameter:
captureWebsitesTaskRequest-CaptureWebsitesTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
merge
public abstract TRAR merge(@NotNull @NotNull MergeFilesTaskRequest mergeFilesTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to merge at least two files to one PDF. If input files are not PDFs yet, they are automatically converted to PDF.- Parameter:
mergeFilesTaskRequest-MergeFilesTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
archive
public abstract TRAR archive(@NotNull @NotNull CreateArchivesTaskRequest createArchivesTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to create a ZIP, RAR, 7Z, TAR, TAR.GZ or TAR.BZ2 archive.- Parameter:
createArchivesTaskRequest-CreateArchivesTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
command
public abstract TRAR command(@NotNull @NotNull ExecuteCommandsTaskRequest executeCommandsTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to execute a command. Currently, ffmpeg, imagemagick and graphicsmagick commands re supported. You can access the files from the input task in the /input/{taskName}/ (For example: /input/import-1/) directory. All files that are created in the /output/ directory are available for following tasks (e.g. export tasks).- Parameter:
executeCommandsTaskRequest-ExecuteCommandsTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
thumbnail
public abstract TRAR thumbnail(@NotNull @NotNull CreateThumbnailsTaskRequest createThumbnailsTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to create a thumbnail of one file. Requires the task.write scope.- Parameter:
createThumbnailsTaskRequest-CreateThumbnailsTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
metadata
public abstract TRAR metadata(@NotNull @NotNull GetMetadataTaskRequest getMetadataTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to extract metadata from one file. Requires the task.write scope.- Parameter:
getMetadataTaskRequest-GetMetadataTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
writeMetadata
public abstract TRAR writeMetadata(@NotNull @NotNull WriteMetadataTaskRequest writeMetadataTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to write file metadata.- Parameter:
writeMetadataTaskRequest-WriteMetadataTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
watermark
public abstract TRAR watermark(@NotNull @NotNull AddWatermarkTaskRequest addWatermarkTaskRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to add a watermark to a file. Requires the task.write scope.- Parameter:
addWatermarkTaskRequest-AddWatermarkTaskRequest- Gibt zurück:
AbstractTasksResource- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
close
- Löst aus:
IOException
-