Upload image to Google Cloud Storage (Java)

后端 未结 3 1883
梦谈多话
梦谈多话 2021-01-15 16:11

I want to develop a java-application (for pc) which can upload any picture to Google Cloud Storage. Although I have spent my whole evening on searching for a solution, I don

3条回答
  •  青春惊慌失措
    2021-01-15 17:09

    There's a lovely Java API for using Google Cloud, including Storage: http://googlecloudplatform.github.io/google-cloud-java/0.10.0/index.html

    Here's an example desktop application that uses this library to upload and download files: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/StorageExample.java

    Google Cloud Storage has quite a bit of documentation, guides, and tutorials. Here's the root of it all: https://cloud.google.com/storage/docs/

提交回复
热议问题