this helper method takes some bytes and stores them as a bitstream for an item , under the cc bundle , with the given bitstream name concode_field_sep ItemService itemService concode_elem_sep BitstreamService bitstreamService concode_elem_sep BitstreamFormatService bitstreamFormatService concode_elem_sep String CC_BS_SOURCE concode_elem_sep Templates templates concode_elem_sep String BSN_LICENSE_TEXT concode_elem_sep String BSN_LICENSE_RDF concode_elem_sep Logger log concode_elem_sep BundleService bundleService concode_elem_sep String BSN_LICENSE_URL concode_field_sep void setLicenseRDF concode_elem_sep Bundle getCcBundle concode_elem_sep Bitstream getLicenseRdfBitstream concode_elem_sep String fetchLicenseRdf concode_elem_sep String fetchLicenseRDF concode_elem_sep String getStringFromBitstream concode_elem_sep Bitstream getLicenseTextBitstream concode_elem_sep String fetchLicenseText concode_elem_sep void removeLicense concode_elem_sep void setLicense concode_elem_sep void setLicense concode_elem_sep LicenseMetadataValue getCCField concode_elem_sep boolean hasLicense concode_elem_sep String getLicenseURL concode_elem_sep Bitstream getBitstream concode_elem_sep void afterPropertiesSet concode_elem_sep byte[] fetchURL concode_elem_sep boolean isEnabled concode_elem_sep String getLicenseText concode_elem_sep String getLicenseRDF concode_elem_sep byte[] getBytesFromBitstream
void function ( Context arg0 , Item arg1 , Bundle arg2 , String arg3 , BitstreamFormat arg4 , byte [ ] arg5 ) { ByteArrayInputStream loc0 = new ByteArrayInputStream ( arg5 ) ; Bitstream loc1 = bitstreamService . create ( arg0 , arg2 , loc0 ) ; loc1 . setName ( arg0 , arg3 ) ; loc1 . setSource ( arg0 , CC_BS_SOURCE ) ; loc1 . setFormat ( arg0 , arg4 ) ; bitstreamService . update ( arg0 , loc1 ) ; }