{
TransportService ts = Application.getBootLoader().getBootable(TransportService.class);
Transport t = ts.getTransport(new URL(url));
ByteArrayOutputStream bos = new ByteArrayOutputStream();
t.get(bos,new ConsoleMonitor());
return bos.toByteArray();
}
catch (ApplicationException ae)
{
throw ae;