result = ERXFileUtilities.bytesFromInputStream(is); finished = true;
int read = -1; byte[] buf = new byte[1024 * 50]; while ((read = is.read(buf)) != -1) { bout.write(buf, 0, read); }
        public StreamReader(final InputStream is) {            Runnable r = new Runnable() {                public void run() {                    try {                        result = ERXFileUtilities.bytesFromInputStream(is);                        finished = true;                    } catch (IOException e) {                        // TODO Auto-generated catch block                        e.printStackTrace();                    }                }            };            Thread t = new Thread(r);            t.start();        }