public static byte [ ] download ( final URI uri ) throws IOException { final File tmpFile = new File ( uri ) ; return ReadFileExtensions . toByteArray ( tmpFile ) ; }
Downloads Data from the given URI .