将图像上传到Google云端存储(Java) [英] Upload image to Google Cloud Storage (Java)

查看:185
本文介绍了将图像上传到Google云端存储(Java)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个java应用程序(用于个人电脑),可以将任何图片上传到Google云端存储。虽然我整个晚上都在寻找解决方案,但我没有任何线索如何开始。有没有人有将图像上传到Google云端存储的经验?谷歌云存储是否有更好的替代方案?

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't have any clue how to start. Does anyone of you have experience with uploading images to Google Cloud Storage? Are there better alternatives to Google Cloud Storage?

推荐答案

有一个可爱的Java API用于使用Google Cloud,包括存储: http://googlecloudplatform.github.io/google-cloud-java/0.10 .0 / index.html

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

这是一个使用此库上传和下载文件的示例桌面应用程序: https: //github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/StorageExample.java

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云端存储有相当多的文档,指南和教程。以下是它的全部内容: https://cloud.google.com/storage/docs/

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/

这篇关于将图像上传到Google云端存储(Java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆