byte [ ] function ( File arg0 ) { try ( InputStream loc0 = new FileInputStream ( arg0 ) ) { return IOUtils . toByteArray ( loc0 ) ; } }
returns the contents of the file in a byte array . concode_field_sep PlaceHolder placeHolder concode_field_sep String fetchTitle concode_elem_sep DocumentModel getExistingDocByTitle concode_elem_sep DocumentModel getExistingDocByPropertyName concode_elem_sep DocumentModel getExistingDocByFileName concode_elem_sep String fetchFileName concode_elem_sep String fetchFileName