View Single Post
  #2 (permalink)  
Old 08-06-2007, 07:36 PM
tommy tommy is offline
Member
 
Join Date: Jul 2007
Posts: 41
tommy is on a distinguished road
try with this code

Code:
ArrayList<Byte> aba = new ArrayList<Byte>(); int n; int counter = 0; try{ URL url = new URL("....."); InputStrean is = url.openStream(); while ((n = is.read()) != -1){ ++counter; aba.add(byte)n); } } catch (Excption e){ ... } // use ArrayList aba for subsequent task
Reply With Quote