Blob function ( String arg0 ) { InputStream loc0 = new ByteArrayInputStream ( "srini_string" . getBytes ( UTF_8 ) ) ; Blob loc1 = bucket . create ( arg0 , loc0 , "srini_string" ) ; return loc1 ; }
example of creating a blob in the bucket from an input stream with a content type . concode_field_sep Bucket bucket concode_field_sep Blob createBlobFromByteArray concode_elem_sep boolean deleteAcl concode_elem_sep Blob createBlobFromByteArrayWithContentType concode_elem_sep Acl createAcl concode_elem_sep Acl createDefaultAcl concode_elem_sep Bucket update concode_elem_sep List<Acl> listAcls concode_elem_sep Acl getDefaultAcl concode_elem_sep boolean delete concode_elem_sep Blob getBlob concode_elem_sep Acl updateAcl concode_elem_sep Bucket reload concode_elem_sep List<Acl> listDefaultAcls concode_elem_sep Page<Blob> listBlobs concode_elem_sep boolean deleteDefaultAcl concode_elem_sep boolean exists concode_elem_sep Blob createBlobFromInputStream concode_elem_sep Acl getAcl concode_elem_sep Acl updateDefaultAcl concode_elem_sep List<Blob> getBlobFromStrings concode_elem_sep List<Blob> getBlobFromStringIterable