Package | Description |
---|---|
org.springframework.cloud.gcp.storage |
Google Cloud Storage integration for Spring Integration and Spring Resource.
|
org.springframework.cloud.gcp.vision |
Google Cloud Vision integration with Spring.
|
Modifier and Type | Method and Description |
---|---|
static GoogleStorageLocation |
GoogleStorageLocation.forBucket(String bucketName)
Returns a
GoogleStorageLocation to a bucket. |
static GoogleStorageLocation |
GoogleStorageLocation.forFile(String bucketName,
String pathToFile)
Returns a
GoogleStorageLocation for a file within a bucket. |
static GoogleStorageLocation |
GoogleStorageLocation.forFolder(String bucketName,
String pathToFolder)
Returns a
GoogleStorageLocation to a folder whose path is relative to the
bucket. |
GoogleStorageLocation |
GoogleStorageResource.getGoogleStorageLocation() |
Constructor and Description |
---|
GoogleStorageResource(Storage storage,
GoogleStorageLocation googleStorageLocation,
boolean autoCreateFiles)
Constructs the resource representation of a bucket or a blob (file) in Google Cloud
Storage.
|
Modifier and Type | Method and Description |
---|---|
DocumentOcrResultSet |
DocumentOcrTemplate.readOcrOutputFile(GoogleStorageLocation jsonFile)
Parses a single JSON output file and returns the list of pages stored in the file.
|
DocumentOcrResultSet |
DocumentOcrTemplate.readOcrOutputFileSet(GoogleStorageLocation jsonOutputFilePathPrefix)
Parses the OCR output files who have the specified
jsonFilesetPrefix . |
org.springframework.util.concurrent.ListenableFuture<DocumentOcrResultSet> |
DocumentOcrTemplate.runOcrForDocument(GoogleStorageLocation document,
GoogleStorageLocation outputFilePathPrefix)
Runs OCR processing for a specified
document and generates OCR output files
under the path specified by outputFilePathPrefix . |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.