Package com.dynamicpdf.api
Class ImageInfo
java.lang.Object
com.dynamicpdf.api.Endpoint
com.dynamicpdf.api.ImageInfo
Represents an image information endpoint.
-
Constructor Summary
ConstructorDescriptionImageInfo(ImageResource resource)
Initializes a new instance of theImageInfo
class. -
Method Summary
Modifier and TypeMethodDescriptionprocess()
Process the image resource to get image's information.Process the pdf resource to get image's information.Methods inherited from class com.dynamicpdf.api.Endpoint
createRequestSpecification, getApiKey, getBaseUrl, getDefaultApiKey, getDefaultBaseUrl, setApiKey, setBaseUrl, setDefaultApiKey, setDefaultBaseUrl
-
Constructor Details
-
ImageInfo
Initializes a new instance of theImageInfo
class.- Parameters:
resource
- The image resource of typeImageResource
.
-
-
Method Details
-
process
Process the image resource to get image's information.- Returns:
- The image resource to get image's information.
-
processAsync
Process the pdf resource to get image's information.- Returns:
- collection of
ImageResponse
as multithreading tasksCompletableFuture
.
-