}
}
private void tryRemote(String uriStr) throws IOException {
try {
LoadingByteArrayOutputStream bout = cache.get(uriStr);
url = new URL(uriStr);
uri = new URI(url.toString());
if (bout == null) {
URLConnection connection = url.openConnection();
is = connection.getInputStream();
bout = new LoadingByteArrayOutputStream(1024);
IOUtils.copy(is, bout);
is.close();
cache.put(uriStr, bout);
}
is = bout.createInputStream();
} catch (MalformedURLException e) {
// do nothing
} catch (URISyntaxException e) {
// do nothing
}