return read(new ByteArrayInputStream(bytes), bytes.length, null, readFormats);
} else if (isMotoPlanerUrl(url)) {
byte[] bytes = url.toExternalForm().getBytes();
List<NavigationFormat> readFormats = new ArrayList<NavigationFormat>(formats);
readFormats.add(0, new MotoPlanerUrlFormat());
return read(new ByteArrayInputStream(bytes), bytes.length, null, readFormats);
}
int readBufferSize = getSize(url);
log.info("Reading '" + url + "' with a buffer of " + readBufferSize + " bytes");