Created
August 21, 2014 21:47
-
-
Save marti1125/c8a5df4c1f06ece1d2af to your computer and use it in GitHub Desktop.
de in - out y de out - in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //pasa a output | |
| ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
| byte[] bytes = IOUtils.toByteArray(pdfYExcelStream); | |
| out.write(bytes); | |
| out.close(); | |
| // de output a input!! | |
| InputStream is = new ByteArrayInputStream(out.toByteArray()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment