public AppendObjectResponse appendObject ( String bucketName , String key , String value , ObjectMetadata metadata ) { try { return this . appendObject ( bucketName , key , value . getBytes ( DEFAULT_ENCODING ) , metadata ) ; } catch ( UnsupportedEncodingException e ) { throw new BceClientException ( "Fail to get bytes." , e ) ; } }
Uploads the specified string and object metadata to Bos under the specified bucket and key name .