com.baidubce.services.bos.demo
Class PutObjectDemo

java.lang.Object
  extended by com.baidubce.services.bos.demo.PutObjectDemo

public class PutObjectDemo
extends Object

简单上传object,包括以文件、数据流、二进制串、字符串方式;上传时设置object元信息的demo


Constructor Summary
PutObjectDemo()
           
 
Method Summary
static void putObjectSimple()
           
static void putObjectWithMeta()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PutObjectDemo

public PutObjectDemo()
Method Detail

putObjectSimple

public static void putObjectSimple()
                            throws FileNotFoundException
Throws:
FileNotFoundException

putObjectWithMeta

public static void putObjectWithMeta()


Copyright © 2020. All rights reserved.