SeekableByteChannel function ( GoogleCloudStorageReadOptions arg0 ) { if ( ! isCompleted ( ) ) { throw new IOException ( String . format ( "srini_string" , this . getObjectName ( ) ) ) ; } return new InMemoryObjectReadChannel ( completedContents , arg0 ) ; }
returns a seekablebytechannel pointing at this inmemoryobjectentry 's byte contents ; a previous writer must have already closed the associated writablebytechannel to commit the byte contents and make them available for reading . concode_field_sep WritableByteChannel delegateWriteChannel concode_elem_sep ByteArrayOutputStream writeStream concode_elem_sep WritableByteChannel writeChannel concode_elem_sep byte[] completedContents concode_elem_sep GoogleCloudStorageItemInfo info concode_field_sep WritableByteChannel getWriteChannel concode_elem_sep boolean isOpen concode_elem_sep GoogleCloudStorageItemInfo getItemInfo concode_elem_sep String getObjectName concode_elem_sep GoogleCloudStorageItemInfo getInfo concode_elem_sep void patchMetadata concode_elem_sep int write concode_elem_sep void close concode_elem_sep InMemoryObjectEntry getShallowCopy concode_elem_sep boolean isCompleted concode_elem_sep String getBucketName